PetalComponents.Tabs
(petal_components v3.0.1)
View Source
Summary
Attributes
class
(:any
) - CSS class. Defaults to nil
.label
(:string
) - labels your tab. Defaults to nil
.link_type
(:string
) - Defaults to "a"
.to
(:string
) - link path. Defaults to nil
.number
(:integer
) - indicates a number next to your tab. Defaults to nil
.underline
(:boolean
) - underlines your tab. Defaults to false
.is_active
(:boolean
) - indicates the current tab. Defaults to false
.disabled
(:boolean
) - disables your tab. Defaults to false
.- Global attributes are accepted. Supports all globals plus:
["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"]
.
Slots
Attributes
underline
(:boolean
) - underlines your tabs. Defaults to false
.class
(:any
) - CSS class. Defaults to nil
.- Global attributes are accepted.
Slots
Functions
Attributes
class
(:any
) - CSS class. Defaults to nil
.label
(:string
) - labels your tab. Defaults to nil
.link_type
(:string
) - Defaults to "a"
.to
(:string
) - link path. Defaults to nil
.number
(:integer
) - indicates a number next to your tab. Defaults to nil
.underline
(:boolean
) - underlines your tab. Defaults to false
.is_active
(:boolean
) - indicates the current tab. Defaults to false
.disabled
(:boolean
) - disables your tab. Defaults to false
.- Global attributes are accepted. Supports all globals plus:
["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"]
.
Slots
Attributes
underline
(:boolean
) - underlines your tabs. Defaults to false
.class
(:any
) - CSS class. Defaults to nil
.- Global attributes are accepted.
Slots