3.1.4 • Published 6 months ago

@types/tabbable v3.1.4

Weekly downloads
5,550
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for tabbable 3.1
// Project: https://github.com/davidtheclark/tabbable
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 23 Dec 2021 23:35:55 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.