docs(demos): camelCase

This commit is contained in:
Drew Rygh
2015-12-16 13:23:19 -06:00
parent 862d159fa3
commit c746add431
3 changed files with 8 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
</ion-navbar>
<ion-content padding>
<p hide-when="android">
<b>(hide-when="android")</b> This text is hidden on Android only. Click the Android tab to hide this text.
<p hideWhen="android">
<b>(hideWhen="android")</b> This text is hidden on Android only. Click the Android tab to hide this text.
</p>
<ion-content>

View File

@@ -3,7 +3,7 @@
</ion-navbar>
<ion-content padding>
<p show-when="ios">
<b>(show-when="ios")</b> This text is shown on iOS only. Click the Android tab to hide this text.
<p showWhen="ios">
<b>(showWhen="ios")</b> This text is shown on iOS only. Click the Android tab to hide this text.
</p>
<ion-content>

View File

@@ -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
* <div showWhen="ios">I am only visible on iOS!</div>
@@ -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
* <div hideWhen="android">I am hidden on Android!</div>