Document checkboxView
commitd926f4bb7d1db9b5578b0312bdda992218d728c1
authorChris Johnston <christopher.johnston@obsidian.systems>
dateFri 5 Jul 2019, 06:09 (7 years ago)
parentadeee9d
reflex-dom-core/src/Reflex/Dom/Widget/Input.hs+1−1
@@ -287,7 +287,7 @@ regularToCheckboxViewEventType en r = case en of
287287
288288newtype CheckboxViewEventResult en = CheckboxViewEventResult { unCheckboxViewEventResult :: CheckboxViewEventResultType en }
289289
290−--TODO
290+-- | Create a view only checkbox
291291{-# INLINABLE checkboxView #-}
292292checkboxView :: 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)
293293checkboxView dAttrs dValue = do