mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
docs(IonicApp): IonicApp is not private
This commit is contained in:
@ -7,9 +7,8 @@ import {rafFrames} from '../../util/dom';
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Component registry service. For more information on registering
|
||||
* components see the [IdRef API reference](../id/IdRef/).
|
||||
* App utility service. Allows you to look up components that have been
|
||||
* registered using the [Id directive](../Id/).
|
||||
*/
|
||||
@Injectable()
|
||||
export class IonicApp {
|
||||
@ -92,7 +91,6 @@ export class IonicApp {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Boolean if the app is actively scrolling or not.
|
||||
* @return {boolean}
|
||||
*/
|
||||
@ -135,7 +133,6 @@ export class IonicApp {
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Get the component for the given key.
|
||||
*/
|
||||
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
|
||||
* 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
|
||||
* To give any component an ID, simply set its `id` property:
|
||||
* ```html
|
||||
|
Reference in New Issue
Block a user