Skip to content

Latest commit

 

History

History
 
 

hidewhen

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

HideWhen用来设置某个平台或者某个屏幕方向时显示的元素。

<div hideWhen="android">
 I am hidden on Android!
</div>

<div hideWhen="ios">
 I am hidden on iOS!
</div>

<div hideWhen="android,ios">
 I am hidden on Android and iOS!
</div>

<div hideWhen="portrait">
 I am hidden on Portrait!
</div>

<div hideWhen="landscape">
 I am hidden on Landscape!
</div>