@kongponents/ktabs

Tabs component.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@kongponents/ktabs
8637.2.02 days ago3 years agoMinified + gzip package size for @kongponents/ktabs in KB

Readme

@kongponents/ktabs

<template>
  <KTabs :tabs="tabs">
    <template v-slot:tab1>
      <span>Tab 1 content</span>
    </template>
    <template v-slot:tab2>
      <span>Tab 2 content</span>
    </template>
  </KTabs>
</template>

<script>
export default {
  data() {
    return {
      tabs: [
        {
          hash: '#tab1',
          title: 'tab1'
        },
        {
          hash: '#tab2',
          title: 'tab2
        }
      ]
    }
  }
}
</script>