on develop help sign in
Document checkboxView
d926f4bChris Johnston
reflex-dom-core/src/Reflex/Dom/Widget/Input.hs+1−1
@@ -287,7 +287,7 @@ regularToCheckboxViewEventType en r = case en of
287
287
288newtype CheckboxViewEventResult en = CheckboxViewEventResult { unCheckboxViewEventResult :: CheckboxViewEventResultType en }
288newtype CheckboxViewEventResult en = CheckboxViewEventResult { unCheckboxViewEventResult :: CheckboxViewEventResultType en }
289
289
290−--TODO
290+-- | Create a view only checkbox
291{-# INLINABLE checkboxView #-}
291{-# INLINABLE checkboxView #-}
292checkboxView :: forall t m. (DomBuilder t m, DomBuilderSpace m ~ GhcjsDomSpace, PostBuild t m, MonadHold t m) => Dynamic t (Map Text Text) -> Dynamic t Bool -> m (Event t Bool)
292checkboxView :: forall t m. (DomBuilder t m, DomBuilderSpace m ~ GhcjsDomSpace, PostBuild t m, MonadHold t m) => Dynamic t (Map Text Text) -> Dynamic t Bool -> m (Event t Bool)
293checkboxView dAttrs dValue = do
293checkboxView dAttrs dValue = do