1.0.4 • Published 7 months ago

@types/focus-within v1.0.4

Weekly downloads
913
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for focus-within 1.0
// Project: https://github.com/jonathantneal/focus-within#readme
// Definitions by: Damien Erambert <https://github.com/eramdam>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 08 Jul 2021 12:01:45 GMT
  • Dependencies: none
  • Global values: focusWithin

Credits

These definitions were written by Damien Erambert.

1.0.2

8 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.1

3 years ago

1.0.0

6 years ago