docs(demos): add id API demo

references driftyco/ionic-site#397
This commit is contained in:
Brandy Carney
2016-02-04 14:25:51 -05:00
parent cf759261ac
commit 856002ef0c
4 changed files with 88 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ import {IonicApp} from './app';
* *NOTE:* It is not recommended to use ID's across Pages, as there is often no
* guarantee that the registered component has not been destroyed if its Page
* has been navigated away from.
*
* @demo /docs/v2/demos/id/
*/
@Directive({
selector: '[id]'