- Source:
Methods
(async) openAccordian(name)
Open a section within an accordian.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | the accessible name of the target section |
- Source:
Throws:
-
When an element with the specified accessible name cannot be located
-
When the target element does not include a button
-
When using the target element does not set the `aria-expanded` attribute of the contained button