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
inputelement withtype="button"or thebuttonelement as these have built in semantics and do not require ARIA attributes.
Implementation
external String? get ariaPressed;
Implementation
external set ariaPressed(String? value);