on develop help sign in
info on elDynAttrNS' tag
commita4029934d614a6061d7dc71a04464e765f581336 authorJDM <john.mangual@gmail.com> dateSat 18 Feb 2017, 23:59 (10 years ago) parentff9351a
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 now the is an attribute namespace (e.g. xmlns )
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