diff --git a/reflex-dom-colonnade/src/Reflex/Dom/Colonnade.hs b/reflex-dom-colonnade/src/Reflex/Dom/Colonnade.hs index 0a88c3f..0556a59 100644 --- a/reflex-dom-colonnade/src/Reflex/Dom/Colonnade.hs +++ b/reflex-dom-colonnade/src/Reflex/Dom/Colonnade.hs @@ -239,7 +239,11 @@ capped tableAttrs headAttrs bodyAttrs trAttrs fascia cornice collection = return (h `mappend` b) -- | This is useful when you want to be able to toggle the visibility --- of columns after the table has been built. +-- of columns after the table has been built. In additon to the +-- usual monoidal result, the return value also includes a 'Dynamic' +-- that gives the current number of visible columns. This is seldom +-- useful, but it can be helpful if the table footer needs to be +-- given a @colspan@ that matches the number of visible columns. cappedResizable :: (DomBuilder t m, PostBuild t m, MonadHold t m, Foldable f, Monoid e) => Map Text Text -- ^ @\