mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
510 B
TypeScript
19 lines
510 B
TypeScript
// Type definitions for tabbable 3.1
|
|
// Project: https://github.com/davidtheclark/tabbable
|
|
// Definitions by: Michael Swiger <https://github.com/mokkan>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare function T(el: Element | Document, options?: T.Options): HTMLElement[];
|
|
|
|
declare namespace T {
|
|
interface Options {
|
|
includeContainer?: boolean;
|
|
}
|
|
|
|
function isTabbable(el: HTMLElement): boolean;
|
|
|
|
function isFocusable(el: HTMLElement): boolean;
|
|
}
|
|
|
|
export = T;
|