on develop help sign in
Merge pull request #135 from MonsieurCactus/develop

info on elDynAttrNS' tag

commite636a3a7a34529116e91c1b1dda567701f1daa18 authorRyan Trinkle <ryan.trinkle@gmail.com> dateFri 5 May 2017, 22:37 (9 years ago) parentc609f27748a20d
1 file changed+3
Quickref.md+3
Quickref.md+3
@@ -36,6 +36,9 @@ Widgets may return any type (this is 'a' in many of the functions below). Often
3636[W] elDynAttr :: Text -> Dynamic (Map Text Text) -> m a -> m a
3737[W] elDynAttr' :: Text -> Dynamic (Map Text Text) -> m a -> m (El, a)
3838
39+-- As above, but with an optional XML namespace for the tag. Note that this does *not* set the 'xmlns' attribute. See https://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-DocCrElNS
40+[W] elDynAttrNS' :: Maybe Text -> Text -> Dynamic (Map Text Text) -> m a -> m (El, a)
41+
3942-- Shortcut for elAttr when you only want to set the "class" attribute.
4043[W] elClass :: Text -> Text -> m a -> m a
4144