1.0.7 • Published 4 years ago

sv-tabs v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Simple Vue Tabs

Simple tabs component for Vue.js
Works only if you use vue-route in your project

Install

  1. install to your project

    npm install sv-tabs
  2. Add to Vue:

    import SvTabs from "sv-tabs";
    Vue.use(SvTabs);
  3. Use:

    <sv-tabs>
       <sv-tab title="Simple tab" :active="true">
           <h1>It's simple tab content</h1>
           Here your html-content
       </sv-tab>
       <sv-tab title="<b>Html-titled tab</b>" :htmlTitle="true" name="CustomUrlHash">
           <h1>It's tab header with html</h1>
           And url-hash = name-property
       </sv-tab>
       <sv-tab title="Vue-component">
           <hello-world></hello-world>
           Initialization of components after activation of the tab
       </sv-tab>
       <sv-tab title="Vue-component#2" :lazyLoad="false">
           <hello-world></hello-world>
           Components are initialized immediately when the page loads, but are shown only when the tab is active.
       </sv-tab>
    </sv-tabs>
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago