IonicApp
App utility service. Allows you to look up components that have been registered using the Id directive.
Instance Members
setTitle(val)
Sets the document title.
Param | Type | Details |
---|---|---|
val |
string
|
Value to set the document title to. |
isProd()
Returns if the app has been set to be in be in production mode or not.
Production mode can only be set within the config of @App
. Defaults
to false
.
Returns:
boolean
isScrolling()
Boolean if the app is actively scrolling or not.
Returns:
boolean
getComponent()
Get the component for the given key.
setAppInjector(injector)
Set the global app injector that contains references to all of the instantiated providers
Param | Type | Details |
---|---|---|
injector |
getAppInjector()
Get an instance of the global app injector that contains references to all of the instantiated providers
Returns:
Injector