Beacon.LiveAdmin.StationUI.HTML.Modal (Beacon LiveAdmin v0.4.0)
View SourceSummary
Functions
The modals component renders a block of content that displays on top of the page. The modal can be dismissed by clicking on the close button or hitting ESC on the keyboard.
Functions
The modals component renders a block of content that displays on top of the page. The modal can be dismissed by clicking on the close button or hitting ESC on the keyboard.
Attributes
id
(:string
) (required)size
(:string
) - Defaults to"md"
.show
(:boolean
) - Defaults tofalse
.show_backdrop
(:boolean
) - Defaults totrue
.on_cancel
(Phoenix.LiveView.JS
) - Defaults to%Phoenix.LiveView.JS{ops: []}
.
Slots
inner_block
(required)title
subtitle
footer
- Accepts attributes:variant
(:string
) - Must be one of"right"
,"justified"
,"full"
, or"stacked"
.