on develop help sign in
Add missing details to documentation of 'dyn'
commita3f51e6a914baf9d9342dd4b58e77ca98aeed05d authorAlexandre Esteves <alexandre.fmp.esteves@gmail.com> dateSat 13 Jul 2019, 21:52 (7 years ago) parentadeee9d
1 file changed+1−1
reflex-dom-core/src/Reflex/Dom/Widget/Basic.hs+1−1
reflex-dom-core/src/Reflex/Dom/Widget/Basic.hs+1−1
@@ -144,7 +144,7 @@ button t = do
144144
145145--TODO: Should this be renamed to 'widgetView' for consistency with 'widgetHold'?
146146-- | Given a Dynamic of widget-creating actions, create a widget that is recreated whenever the Dynamic updates.
147−-- The returned Event of widget results occurs when the Dynamic does.
147+-- The returned Event of widget results occurs at post-build time and when the Dynamic does.
148148-- Note: Often, the type @a@ is an 'Event', in which case the return value is an Event-of-Events that would typically be flattened (via 'switchHold').
149149dyn :: (DomBuilder t m, PostBuild t m) => Dynamic t (m a) -> m (Event t a)
150150dyn = networkView