Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 700 Bytes

README.md

File metadata and controls

24 lines (22 loc) · 700 Bytes

Tab Usage

简体中文

  import { TAB_DIRECTIVES } from 'angularx-semantic-ui'
  <lsu-tabset type="'secondary'">
    <lsu-tab [headerText]="'First'">
      <h1>Tab First</h1>
    </lsu-tab>
    <lsu-tab [headerText]="'Second'" [active]="'true'">
      <h1>Tab Second</h1>
    </lsu-tab>
    <lsu-tab [headerText]="'Third'">
      <h1>Tab Third</h1>
    </lsu-tab>
  </lsu-tabset>

Options

  • headerText: Required,Tab's title
  • active: Optional. Whether to activate the tab page
  • type: Optional. Tab's type [ tabular | secondary | pointing ], default is tabular