fn
getTabbableEdges
v0.0.5Returns the first and last tabbable elements inside a container
Signature
ts
declare function getTabbableEdges(container: HTMLElement): {
first: HTMLElement | undefined;
last: HTMLElement | undefined;
};Parameters
| Parameter | Type | Description |
|---|---|---|
container | HTMLElement | — |
Returns
{ first: HTMLElement | undefined; last: HTMLElement | undefined; }| Property | Type | Description |
|---|---|---|
first | HTMLElement | undefined | — |
last | HTMLElement | undefined | — |