on develop help sign in
info on elDynAttrNS' tag
a402993JDM
Quickref.md+3
@@ -36,6 +36,9 @@ Widgets may return any type (this is 'a' in many of the functions below). Often
36[W] elDynAttr :: Text -> Dynamic (Map Text Text) -> m a -> m a
36[W] elDynAttr :: Text -> Dynamic (Map Text Text) -> m a -> m a
37[W] elDynAttr' :: Text -> Dynamic (Map Text Text) -> m a -> m (El, a)
37[W] elDynAttr' :: Text -> Dynamic (Map Text Text) -> m a -> m (El, a)
38
38
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+
39-- Shortcut for elAttr when you only want to set the "class" attribute.
42-- Shortcut for elAttr when you only want to set the "class" attribute.
40[W] elClass :: Text -> Text -> m a -> m a
43[W] elClass :: Text -> Text -> m a -> m a
41
44