Module
Flare
- Package
- purescript-flare
- Repository
- sharkdp/purescript-flare
#innerFlare Source
innerFlare :: forall b a. UI a -> (a -> UI b) -> UI b
Renders an UI with access to the current value.
#stringPattern_ Source
stringPattern_ :: String -> String -> UI String
Like stringPattern
, but without a label.
#buttons Source
buttons :: forall a f. Traversable f => f a -> (a -> String) -> UI (Maybe a)
Create a button for each element of the given container. The whole
component returns Nothing
if none of the buttons is pressed and Just x
if the button corresponding to the element x
is pressed.
#radioGroup_ Source
radioGroup_ :: forall a f. Foldable f => NonEmpty f a -> (a -> String) -> UI a
Like radioGroup
, but without a label.
#resizableList_ Source
resizableList_ :: forall a. (a -> UI a) -> a -> List a -> UI (List a)
Like resizableList
, but without a label.
#applyUIFlipped Source
applyUIFlipped :: forall b a. UI a -> UI (a -> b) -> UI b
A flipped version of <*>
for UI
that arranges the components in the
order of appearance.
- Modules
- Flare
- Flare.
Drawing - Flare.
Smolder