ariaPressed property
The ariaPressed
property of the Element
interface reflects the
value of the
aria-pressed
attribute, which indicates the current "pressed" state of toggle buttons.
Note: Where possible use an HTML
input
element withtype="button"
or thebutton
element as these have built in semantics and do not require ARIA attributes.
Implementation
external String? get ariaPressed;
Implementation
external set ariaPressed(String? value);