fabiommendes/elm-daisy-ui/1.0.0

Daisy.Actions

Components in the DaisyUI Actions section

Button

See also: https://daisyui.com/components/button/

btn : List (Attribute msg) -> List (Html msg) -> Html msg

A simple button

swap : (Bool -> msg) -> List (Attribute msg) -> Html msg -> Html msg -> Html msg

Swap allows you to toggle the visibility of two elements.

swapActive : Attribute msg

Attribute to turn the swap on by default

swapFlip : Attribute msg

Adds flip effect to swap

swapRotate : Attribute msg

Adds rotate effect to swap

openModal : String -> List (Attribute msg) -> List (Html msg) -> Html msg

A button that lives in your main document used to open the modal

closeModal : String -> List (Attribute msg) -> List (Html msg) -> Html msg

A button that lives in the modal used to close it.

alignTo : Dropdown -> Attribute msg

Attribute that defines the aligment of dropdown