Skip to content

Latest commit

 

History

History

tab

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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