UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

118 lines 2.95 kB
{ "type": "component", "meta": { "docsUrl": "https://v1.quasar.dev/vue-components/tabs" }, "behavior": { "$listeners": { "desc": "All native events are being propagated (you don't need the '.native' modifier)" } }, "props": { "ripple": { "type": [ "Boolean", "Object" ], "desc": "Configure material ripple (disable it by setting it to 'false' or supply a config object)", "default": true, "examples": [ false, "{ early: true, center: true, color: 'teal', keyCodes: [] }" ], "category": "style" }, "icon": { "type": "String", "desc": "Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix", "examples": [ "map", "ion-add", "img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg", "img:statics/path/to/some_image.png" ], "category": "content" }, "label": { "type": [ "Number", "String" ], "desc": "A number or string to label the tab", "examples": [ "Home" ], "category": "content" }, "alert": { "type": [ "Boolean", "String" ], "desc": "Adds an alert symbol to the tab, notifying the user there are some updates; If its value is not a Boolean, then you can specify a color", "examples": [ "alert", "alert=\"purple\"" ], "category": "content" }, "alert-icon": { "type": "String", "desc": "Adds a floating icon to the tab, notifying the user there are some updates; It's displayed only if 'alert' is set; Can use the color specified by 'alert' prop", "examples": [ "alert-icon=\"alarm_on\"" ], "category": "content", "addedIn": "v1.9.14" }, "name": { "type": [ "Number", "String" ], "desc": "Panel name", "default": "A random UID", "examples": [ "home", ":name=\"1\"" ], "category": "general" }, "no-caps": { "type": "Boolean", "desc": "Turns off capitalizing all letters within the tab (which is the default)", "category": "content" }, "content-class": { "type": "String", "desc": "Class definitions to be attributed to the content wrapper", "examples": [ "my-special-class" ], "category": "style", "addedIn": "v1.12.0" }, "tabindex": { "type": [ "Number", "String" ], "desc": "Tabindex HTML attribute value", "examples": [ "0", "100" ], "category": "general" }, "disable": { "type": "Boolean", "desc": "Put component in disabled mode", "category": "state" } }, "slots": { "default": { "desc": "Suggestion: QMenu, QTooltip" } } }