Introduction
Important:
- This API is only relevant for custom widgets in Branded Apps.
- Custom widgets are not yet available to all users.
- This API is in Developer Preview and is subject to change.
To learn about the behavior of a hidden element,
see the hidden
property.
About Mixins
Mixins provide functionality that other elements can inherit and use.
Mixins are not elements. You cannot add mixins to the Editor like other $w
elements, and mixins are not meant to be used directly
in your code.
For example, you would not write code like this, because it is out of context:
javascript | Copy Codelet isHidden = $w("#MobileHiddenMixin").hidden;
Instead, you can code the following if myElement
is an element that
"mixes in" MobileHiddenMixin
.
javascript | Copy Codelet isHidden = $w("#myElement").hidden;
Was this helpful?