Have ideas to improve npm?Join in the discussion! »

    user-tabbing
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    user-tabbing

    Detects if the user is navigating the page using the tab key and adds a 'tabbing' class to the body. The class is removed when the user clicks on the page.

    Install

    You can install via npm or yarn.

    npm

    npm install --save user-tabbing

    yarn

    yarn add user-tabbing

    Usage

    Importing

    You can import using ES6 imports. The script will automatically begin running so only import this once.

    import 'user-tabbing';

    Install

    npm i user-tabbing

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    46.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar