Files

ion-hide-when

HideWhen is a component that will automatically hide itself and any child content when a property evaluates to true.

Properties

mediaQuery

string

If the current media query matches this value, the element will hide.

mode

string

If the current platform matches the given value, the element will hide. Accepts a comma separated list of modes to match against.

or

boolean

If false, and two or more conditions are set, the element will hide when all are true. If true, and two or more conditions are set, the element will hide when at least one is true.

orientation

string

If the current orientation matches this value, the element will hide.

platform

string

If the current platform matches the given value, the element will hide. Accepts a comma separated list of platform to match against.

size

string

If the current screen width matches the given size, the element will hide. Uses the build in sizes of xs, sm, md, lg, xl.

Attributes

media-query

string

If the current media query matches this value, the element will hide.

mode

string

If the current platform matches the given value, the element will hide. Accepts a comma separated list of modes to match against.

or

boolean

If false, and two or more conditions are set, the element will hide when all are true. If true, and two or more conditions are set, the element will hide when at least one is true.

orientation

string

If the current orientation matches this value, the element will hide.

platform

string

If the current platform matches the given value, the element will hide. Accepts a comma separated list of platform to match against.

size

string

If the current screen width matches the given size, the element will hide. Uses the build in sizes of xs, sm, md, lg, xl.


Built with StencilJS