Functions
Const attributesToArray
- attributesToArray(map: NamedNodeMap): Attr[]
-
Parameters
Returns Attr[]
Const findFirstFocusableDescendant
- findFirstFocusableDescendant(container: Element): null | Element
-
Parameters
Returns null
|
Element
Const generateCaughtError
- generateCaughtError<T>(message: string, defaultData: T): T
-
Type parameters
Parameters
-
message: string
-
defaultData: T
Returns T
Const htmlCollectionToArray
- htmlCollectionToArray(list: HTMLCollection): Element[]
-
Parameters
Returns Element[]
Const isOrContains
- isOrContains(container: Element, element: Element): boolean
-
Parameters
-
container: Element
-
element: Element
Returns boolean
Const switchAElementToButton
- switchAElementToButton(tabElement: Element): Element
-
Parameters
Returns Element
Const updateAndDispatch
- updateAndDispatch(element: Element, attribute: string, targetState: string | null): void
-
Parameters
-
element: Element
-
attribute: string
-
targetState: string | null
Returns void
Const updateState
- updateState(element: Element, attribute: string, targetState: string | null, callback?: function | null): void
-
Parameters
-
element: Element
-
attribute: string
-
targetState: string | null
-
Default value callback: function | null = null
Returns void