mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
docs(showHideWhen): update docs
This commit is contained in:
@ -58,6 +58,8 @@ export class DisplayWhen {
|
||||
|
||||
/**
|
||||
*
|
||||
* @name ShowWhen
|
||||
* @description
|
||||
* 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 [hideWhen attribute](../HideWhen).
|
||||
@ -94,7 +96,8 @@ export class ShowWhen extends DisplayWhen {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @name HideWhen
|
||||
* @description
|
||||
* 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 [showWhen attribute](../ShowWhen).
|
||||
|
Reference in New Issue
Block a user