npm

@types/tabbable
TypeScript icon, indicating that this package has built-in type declarations

3.1.4 • Public • Published

Installation

npm install --save @types/tabbable

Summary

This package contains type definitions for tabbable (https://github.com/davidtheclark/tabbable).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tabbable.

index.d.ts

declare function T(el: Element | Document, options?: T.Options): HTMLElement[];

declare namespace T {
    interface Options {
        includeContainer?: boolean | undefined;
    }

    function isTabbable(el: HTMLElement): boolean;

    function isFocusable(el: HTMLElement): boolean;
}

export = T;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by .

Readme

Keywords

none

Package Sidebar

Install

npm i @types/tabbable

Weekly Downloads

3,194

Version

3.1.4

License

MIT

Unpacked Size

2.94 kB

Total Files

5

Last publish

Collaborators

  • types