Beacon.LiveAdmin.StationUI.HTML.Tag (Beacon LiveAdmin v0.4.0)
View SourceFor bordered tags, add "border-2"
For rounded tags, add "rounded-full py-1"
Summary
Functions
Attributes
as
(:string
)class
(:any
) - Defaults to"gap-x-1.5 px-2.5 rounded py-1"
.on_click
(Phoenix.LiveView.JS
) - Defaults tonil
.on_delete
(Phoenix.LiveView.JS
) - Defaults tonil
.tabindex
(:string
)- Global attributes are accepted. Supports all globals plus:
["disabled"]
.
Slots
inner_block
(required)
Functions
Attributes
as
(:string
)class
(:any
) - Defaults to"gap-x-1.5 px-2.5 rounded py-1"
.on_click
(Phoenix.LiveView.JS
) - Defaults tonil
.on_delete
(Phoenix.LiveView.JS
) - Defaults tonil
.tabindex
(:string
)- Global attributes are accepted. Supports all globals plus:
["disabled"]
.
Slots
inner_block
(required)