The code snippet below can be found in settings.ts:
@Component({
selector: 'page-settings',
templateUrl: 'settings.html'
})
export class SettingsPage {
}
}
Similarly, in the app.component.ts file, we are able to assign the Class name SettingsPage
to a variable like so:
settingsPage = SettingsPage;
What allows us to assign the Class name SettingsPage
to a variable?