mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(demos): camelCase
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user