PrenixComponents.Dropdown (prenix_components v0.1.4)
Summary
Functions
Attributes
class
(:string
) - Defaults tonil
.toggle_class
(:string
) - Defaults tonil
.content_class
(:string
) - Defaults tonil
.submenu
(:boolean
) - Defaults tofalse
.variant
(:string
) - Defaults to"solid"
.auto_close
(:string
) - Defaults to"outside"
.placement
(:string
) - Defaults to"dropdown"
.offset
(:string
) - Defaults tonil
.
Slots
toggle
(required)inner_block
Attributes
class
(:string
) - Defaults tonil
.
Attributes
type
(:string
) - Defaults to"button"
.color
(:string
) - Defaults to"default"
.submenu_toggle
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults tonil
.disabled
(:boolean
) - Defaults tofalse
.- Global attributes are accepted. Supports all globals plus:
["href", "method"]
.
Slots
start_content
end_content
inner_block
Attributes
class
(:string
) - Defaults tonil
.
Slots
inner_block
Functions
Link to this function
dropdown(assigns)
Attributes
class
(:string
) - Defaults tonil
.toggle_class
(:string
) - Defaults tonil
.content_class
(:string
) - Defaults tonil
.submenu
(:boolean
) - Defaults tofalse
.variant
(:string
) - Defaults to"solid"
.auto_close
(:string
) - Defaults to"outside"
.placement
(:string
) - Defaults to"dropdown"
.offset
(:string
) - Defaults tonil
.
Slots
toggle
(required)inner_block
Link to this function
dropdown_divider(assigns)
Attributes
class
(:string
) - Defaults tonil
.
Link to this function
dropdown_item(assigns)
Attributes
type
(:string
) - Defaults to"button"
.color
(:string
) - Defaults to"default"
.submenu_toggle
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults tonil
.disabled
(:boolean
) - Defaults tofalse
.- Global attributes are accepted. Supports all globals plus:
["href", "method"]
.
Slots
start_content
end_content
inner_block
Link to this function
dropdown_rotate(assigns)
Attributes
class
(:string
) - Defaults tonil
.
Slots
inner_block