Socket
Socket
Sign inDemoInstall

colorcat-ngx-tabset

Package Overview
Dependencies
6
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    colorcat-ngx-tabset

a simple tabset for angular2+


Version published
Maintainers
1
Created

Readme

Source

Setup

npm i colorcat-ngx-tabset --save

or

yarn add colorcat-ngx-tabset

Usage

Import FmTabSetModule in your app module:

import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';

import {AppComponent} from './app.component';
import {FmTabSetModule} from 'colorcat-ngx-tabset';
import {CommonModule} from '@angular/common';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    CommonModule,
    ...,
    FmTabSetModule.forRoot()
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {
}

Example

<fm-tabset (selectedTabChange)="selectedTab($event)" [style]="tabStyle">
    <fm-tab label="Tab1" [active]="true">Tab1 content</fm-tab>
    <fm-tab label="Tab2">Tab2 content</fm-tab>
    <fm-tab label="Tab3" [disabled]="true">....</fm-tab>
    <fm-tab label="Tab4">Tab4 content</fm-tab>
</fm-tabset>

Keywords

FAQs

Last updated on 17 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc