BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Alert Dialog

Modal confirmation dialog requiring explicit user action.

Paquete
@solidiom/alert-dialog
Versión
0.0.1-next.0
Estado
stable

Generado a partir del código fuente público del paquete.

API

Actioncomponente

                        Action(props: AlertDialogActionProps): Element
                      

Propiedades

onAction?
() => void — Called after the dialog requests close from the action button.
ref?
(el: HTMLButtonElement) => void

hijos: Element

Ver código fuente

AlertDialogActionPropsinterfaz

Propiedades

onAction?
() => void — Called after the dialog requests close from the action button.
ref?
(el: HTMLButtonElement) => void

hijos: Element

Ver código fuente

AlertDialogCancelPropsinterfaz

Propiedades

ref?
(el: HTMLButtonElement) => void

hijos: Element

Ver código fuente

AlertDialogContentPropsinterfaz

Propiedades

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

hijos: Element

Ver código fuente

AlertDialogDescriptionPropsinterfaz

Propiedades

class?
string

hijos: Element

Ver código fuente

AlertDialogPortalPropsinterfaz

hijos: Element

Ver código fuente

AlertDialogRootPropsinterfaz

Propiedades

defaultOpen?
boolean — Default open state (uncontrolled).
onOpenChange?
(open: boolean, details: ChangeDetails<DisclosureReason>) => void — Called when open state change is requested.
open?
Accessor<boolean> — Controlled open state.

hijos: Element

Ver código fuente

AlertDialogTitlePropsinterfaz

Propiedades

class?
string

hijos: Element

Ver código fuente

AlertDialogTriggerPropsinterfaz

Propiedades

ref?
(el: HTMLButtonElement) => void

hijos: Element

Ver código fuente

Cancelcomponente

                        Cancel(props: AlertDialogCancelProps): Element
                      

Propiedades

ref?
(el: HTMLButtonElement) => void

hijos: Element

Ver código fuente

Contentcomponente

                        Content(props: AlertDialogContentProps): Element
                      

Propiedades

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

hijos: Element

Ver código fuente

Descriptioncomponente

                        Description(props: AlertDialogDescriptionProps): Element
                      

Propiedades

class?
string

hijos: Element

Ver código fuente

Portalcomponente

                        Portal(props: AlertDialogPortalProps): Element
                      

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: AlertDialogRootProps): Element
                      

Propiedades

defaultOpen?
boolean — Default open state (uncontrolled).
onOpenChange?
(open: boolean, details: ChangeDetails<DisclosureReason>) => void — Called when open state change is requested.
open?
Accessor<boolean> — Controlled open state.

hijos: Element

Ver código fuente

Titlecomponente

                        Title(props: AlertDialogTitleProps): Element
                      

Propiedades

class?
string

hijos: Element

Ver código fuente

Triggercomponente

                        Trigger(props: AlertDialogTriggerProps): Element
                      

Propiedades

ref?
(el: HTMLButtonElement) => void

hijos: Element

Ver código fuente