diff --git a/demos/attr/index.ts b/demos/attr/index.ts deleted file mode 100644 index faa5950906..0000000000 --- a/demos/attr/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {App} from 'ionic/ionic'; - -@App({ - templateUrl: 'main.html' -}) - -class DemoApp { - - constructor() { - this.isHidden = false; - } - - toggle() { - this.isHidden = !this.isHidden; - } - -} \ No newline at end of file diff --git a/demos/attr/main.html b/demos/attr/main.html deleted file mode 100644 index c1ca4f38a8..0000000000 --- a/demos/attr/main.html +++ /dev/null @@ -1,30 +0,0 @@ - - - attr - - - - - - - - - [attr.hidden]="isHidden ? '' : null" - - - - - - isHidden: {{isHidden}} - - - - - - - - - - - - diff --git a/ionic/components/app/id.ts b/ionic/components/app/id.ts index 54121f3218..07ae5eaa81 100644 --- a/ionic/components/app/id.ts +++ b/ionic/components/app/id.ts @@ -66,15 +66,7 @@ export class IdRef { /** - * @name Attr - * @description - * Attr allows you to dynamically add or remove an attribute based on the value of an expression or variable. - * @usage - * ```html - * // toggle the no-lines attributes based on whether isAndroid is true or false - * - * ``` - * @demo /docs/v2/demos/attr/ + * @private */ @Directive({ selector: '[attr]'