View Source PetalComponents.Tabs (petal_components v0.19.1)
Link to this section Summary
Functions
Attributes
class
(:string
) - CSS class. Defaults to""
.label
(:string
) - labels your tab. Defaults tonil
.link_type
(:string
) - Defaults to"a"
.to
(:string
) - link path. Defaults tonil
.number
(:integer
) - indicates a number next to your tab. Defaults tonil
.underline
(:boolean
) - underlines your your tab. Defaults tofalse
.is_active
(:boolean
) - indicates the current tab. Defaults tofalse
.rest
(:global
) - Supports all globals plus:["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"]
.
Slots
inner_block
Attributes
underline
(:boolean
) - underlines your tabs. Defaults tofalse
.class
(:string
) - CSS class. Defaults to""
.rest
(:global
)
Slots
inner_block
Link to this section Functions
attributes
Attributes
class
(:string
) - CSS class. Defaults to""
.label
(:string
) - labels your tab. Defaults tonil
.link_type
(:string
) - Defaults to"a"
.to
(:string
) - link path. Defaults tonil
.number
(:integer
) - indicates a number next to your tab. Defaults tonil
.underline
(:boolean
) - underlines your your tab. Defaults tofalse
.is_active
(:boolean
) - indicates the current tab. Defaults tofalse
.rest
(:global
) - Supports all globals plus:["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"]
.
slots
Slots
inner_block
attributes
Attributes
underline
(:boolean
) - underlines your tabs. Defaults tofalse
.class
(:string
) - CSS class. Defaults to""
.rest
(:global
)
slots
Slots
inner_block