From fe061a142a107cf5fe42f3ecfc90ac59f1824866 Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Thu, 3 Dec 2015 17:38:45 -0600 Subject: [PATCH] docs(attr) --- ionic/components/app/id.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ionic/components/app/id.ts b/ionic/components/app/id.ts index 3355ad178e..639f988eef 100644 --- a/ionic/components/app/id.ts +++ b/ionic/components/app/id.ts @@ -55,6 +55,16 @@ 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 + * + * ``` + */ @Directive({ selector: '[attr]', inputs: ['attr']