mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
docs(IonicApp): IonicApp is not private
This commit is contained in:
@ -7,9 +7,8 @@ import {rafFrames} from '../../util/dom';
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* App utility service. Allows you to look up components that have been
|
||||||
* Component registry service. For more information on registering
|
* registered using the [Id directive](../Id/).
|
||||||
* components see the [IdRef API reference](../id/IdRef/).
|
|
||||||
*/
|
*/
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class IonicApp {
|
export class IonicApp {
|
||||||
@ -92,7 +91,6 @@ export class IonicApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
|
||||||
* Boolean if the app is actively scrolling or not.
|
* Boolean if the app is actively scrolling or not.
|
||||||
* @return {boolean}
|
* @return {boolean}
|
||||||
*/
|
*/
|
||||||
@ -135,7 +133,6 @@ export class IonicApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
|
||||||
* Get the component for the given key.
|
* Get the component for the given key.
|
||||||
*/
|
*/
|
||||||
getComponent(id: string): any {
|
getComponent(id: string): any {
|
||||||
|
@ -9,9 +9,6 @@ import {IonicApp} from './app';
|
|||||||
* no matter where in the UI hierarchy you are. For example, this makes toggling
|
* no matter where in the UI hierarchy you are. For example, this makes toggling
|
||||||
* a global side menu possible from any place in the application.
|
* a global side menu possible from any place in the application.
|
||||||
*
|
*
|
||||||
* See the [Menu section](http://ionicframework.com/docs/v2/components/#menus) of
|
|
||||||
* the Component docs for an example of how Menus rely on ID's.
|
|
||||||
*
|
|
||||||
* @usage
|
* @usage
|
||||||
* To give any component an ID, simply set its `id` property:
|
* To give any component an ID, simply set its `id` property:
|
||||||
* ```html
|
* ```html
|
||||||
|
Reference in New Issue
Block a user