welcome to nuxt glorious

Tab

A set of tab panels that are displayed one at a time.


Example

Simple example for GTab

            
const items = [
    {
        text: 'tab 1',
        active: true,
        key: 'tab1',
    },
    {
        text: 'tab 2',
        key: 'tab2',
    },
    {
        text: 'tab 3',
        key: 'tab3',
    },
]
<GTab
    v-model="tab"
    :items="items"
/>

        

            
glorious:{
    components:{
        tab:{
            props:{
                color:'green',
            }
        }
    }
}

        

props

PropTypeDefault
model valueany
itemsArray<object>