Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@rautils/ngx-tab-focus

rautils12MIT0.1.3TypeScript support: included

@rautils/ngx-focus-tab

angular, angular 2, ng, ngx, tab, tabs, focus, click, keyboard, ngx-tab-focus, rautils, utility, ngx-tabs-focus, ngx-tab, ngx-tabs, ngx-focus

readme

@rautils/ngx-focus-tab

Library to style focused elements only by keyboard

npm version

auto deploy

This is a work in progress

Demo

You cann see the demo here

Installation

First, install the npm module:

npm install @rautils/ngx-tab-focus --save

or

yarn add @rautils/ngx-tab-focus

Usage

Import the module

import {NgModule} from '@angular/core';
import {NgxTabFocusModule} from '@rautils/ngx-tab-focus';

@NgModule({
    imports: [
        NgxTabFocusModule
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

Place the component

<tab-focus>
    <p>I can be focused only by keyboard</p>
</tab-focus>

API reference