Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModalDialog ¶
type ModalDialog struct {
Element
Title string
Content Component
// contains filtered or unexported fields
}
ModalDialog represents a modal dialog component.
func (*ModalDialog) Close ¶ added in v0.1.10
func (m *ModalDialog) Close()
Close hides the dialog programmatically — for a host that needs to dismiss it after an action completes (e.g. a confirm button), not just via the built-in backdrop/× close.
func (*ModalDialog) Init ¶
func (m *ModalDialog) Init(_ Ctx)
func (*ModalDialog) Open ¶
func (m *ModalDialog) Open()
func (*ModalDialog) Render ¶
func (m *ModalDialog) Render() *Element
func (*ModalDialog) RenderCSS ¶
func (m *ModalDialog) RenderCSS() *Stylesheet
Click to show internal directories.
Click to hide internal directories.