-
- (show-when="ios") This text is shown on iOS only. Click the Android tab to hide this text.
+
+ (showWhen="ios") This text is shown on iOS only. Click the Android tab to hide this text.
diff --git a/ionic/components/show-hide-when/show-hide-when.ts b/ionic/components/show-hide-when/show-hide-when.ts
index 418487e302..179f8a01b4 100644
--- a/ionic/components/show-hide-when/show-hide-when.ts
+++ b/ionic/components/show-hide-when/show-hide-when.ts
@@ -56,9 +56,9 @@ export class DisplayWhen {
/**
*
- * The `show-when` attribute takes a string that represents a plaform or screen orientation.
+ * The `showWhen` attribute takes a string that represents a plaform or screen orientation.
* The element the attribute is added to will only be shown when that platform or screen orientation is active.
- * Complements the [hide-when attribute](../HideWhen).
+ * Complements the [hideWhen attribute](../HideWhen).
* @usage
* ```html
* I am only visible on iOS!
@@ -93,9 +93,9 @@ export class ShowWhen extends DisplayWhen {
/**
*
- * The `hide-when` attribute takes a string that represents a plaform or screen orientation.
+ * The `hideWhen` attribute takes a string that represents a plaform or screen orientation.
* The element the attribute is added to will only be hidden when that platform or screen orientation is active.
- * Complements the [show-when attribute](../ShowWhen).
+ * Complements the [showWhen attribute](../ShowWhen).
* @usage
* ```html
* I am hidden on Android!