| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Miso.UI.AlertDialog
Synopsis
- data AlertDialogProps = AlertDialogProps {}
- defaultAlertDialogProps :: AlertDialogProps
- alertDialogComponent :: Component parent AlertDialogProps () Action
- alertDialogCodeSample :: View model action
- alertDialogPropsApi :: View model action
Props
data AlertDialogProps Source #
Props for alertDialogComponent. These live in the props slot of the
miso Component and are supplied at mount time via mountWithProps_.
Constructors
| AlertDialogProps | |
Fields
| |
Instances
| Show AlertDialogProps Source # | |
Defined in Miso.UI.AlertDialog Methods showsPrec :: Int -> AlertDialogProps -> ShowS # show :: AlertDialogProps -> String # showList :: [AlertDialogProps] -> ShowS # | |
| Eq AlertDialogProps Source # | |
Defined in Miso.UI.AlertDialog Methods (==) :: AlertDialogProps -> AlertDialogProps -> Bool # (/=) :: AlertDialogProps -> AlertDialogProps -> Bool # | |
defaultAlertDialogProps :: AlertDialogProps Source #
Smart constructor: destructive-action confirmation
Component
alertDialogComponent :: Component parent AlertDialogProps () Action Source #
Alert Dialog as a miso
Component; AlertDialogProps is its props type parameter. Mount with
mountWithProps_ "alert-dialog" defaultAlertDialogProps alertDialogComponent
Sample
alertDialogCodeSample :: View model action Source #
alertDialogPropsApi :: View model action Source #