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

1.0.4 • Public • Published

Installation

npm install --save @types/focus-within

Summary

This package contains type definitions for focus-within (https://github.com/jonathantneal/focus-within#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/focus-within.

index.d.ts

declare namespace focusWithin {
    interface FocusWithinOpts {
        attr?: boolean | undefined;
        className?: string | undefined;
    }
}

declare function focusWithin(document: HTMLDocument, opts?: focusWithin.FocusWithinOpts): void;

export as namespace focusWithin;
export = focusWithin;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Damien Erambert.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/focus-within

Weekly Downloads

3,082

Version

1.0.4

License

MIT

Unpacked Size

3.18 kB

Total Files

5

Last publish

Collaborators

  • types