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.