- Description:
ARIA helpers related to the aria-hidden attribute.
- Source:
- Copyright:
- 2020 Andrew Nicols
- 2020 Andrew Nicols
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
ARIA helpers related to the aria-hidden attribute.
Methods
(static) hide(target) → {Array}
- Description:
Update the supplied DOM Module to be hidden.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement |
Returns:
- Type
- Array
(static) hideSiblings(target) → {Array}
- Description:
Correctly mark all siblings of the supplied target Element as hidden.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement |
Returns:
- Type
- Array
(static) unhide(target) → {Array}
- Description:
Reverse the effect of the hide action.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement |
Returns:
- Type
- Array
(static) unhideSiblings(target) → {Array}
- Description:
Correctly reverse the hide action of all children of the supplied target Element.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
target |
HTMLElement |
Returns:
- Type
- Array