zr-tabs
v3.0.1
Published
This is a tabs switchover component.
Downloads
7
Readme
About
This is a tabs switchover component.
Installation
Install through npm:
npm install --save zr-tabs
Then include in your apps module:
import { NgModule } from '@angular/core';
import { ZrTabsModule } from 'zr-tabs';
@NgModule({
imports: [
ZrTabsModule.forRoot()
]
})
export class MyModule {}
Finally use in one of your apps components:
import { Component } from '@angular/core';
@Component({
template: '<zr-tabs [tabsData]="tabsArray1" (selected)="getItem1($event)"></zr-tabs>'
})
export class MyComponent {}