From 32bf737d440c7bf842c6c543e7ee237138bbdd62 Mon Sep 17 00:00:00 2001 From: Drew Rygh Date: Thu, 3 Dec 2015 12:17:39 -0600 Subject: [PATCH] docs(show-hide-when) --- .../components/show-hide-when/show-hide-when.ts | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/ionic/components/show-hide-when/show-hide-when.ts b/ionic/components/show-hide-when/show-hide-when.ts index b41b8e57e3..22827aa989 100644 --- a/ionic/components/show-hide-when/show-hide-when.ts +++ b/ionic/components/show-hide-when/show-hide-when.ts @@ -52,7 +52,13 @@ class DisplayWhen { } /** - * TODO + * + * The `show-when` attribute takes a value or expression, and only shows the element it has been added to when + * the value or expression is true. Complements the [hide-when attribute](../HideWhen). + * @usage + * ```html + *
I am hidden!
+ * ``` */ @Directive({ selector: '[show-when]', @@ -80,7 +86,13 @@ export class ShowWhen extends DisplayWhen { } /** - * TODO + * + * The `hide-when` attribute takes a value or expression, and hides the element it has been added to when + * the value or expression is true. Complements the [show-when attribute](../ShowWhen). + * @usage + * ```html + *
I am hidden!
+ * ``` */ @Directive({ selector: '[hide-when]',