@@ -29,6 +29,7 @@ module Reflex.Dom.Widget.Basic
30 , elDynAttr
30 , elDynAttr
31 , elDynClass
31 , elDynClass
33 -- ** With Element Results
34 -- ** With Element Results
@@ -224,6 +225,10 @@ elDynAttrNS' mns elementTag attrs child = do
224 notReadyUntil postBuild
225 notReadyUntil postBuild
225 return result
226 return result
228+{-# INLINABLE elDynAttrNS #-}
229+elDynAttrNS :: forall t m a. (DomBuilder t m, PostBuild t m) => Maybe Text -> Text -> Dynamic t (Map Text Text) -> m a -> m a
230+elDynAttrNS mns elementTag attrs child = fmap snd $ elDynAttrNS' mns elementTag attrs child
227dynamicAttributesToModifyAttributes :: (Ord k, PostBuild t m) => Dynamic t (Map k Text) -> m (Event t (Map k (Maybe Text)))
232dynamicAttributesToModifyAttributes :: (Ord k, PostBuild t m) => Dynamic t (Map k Text) -> m (Event t (Map k (Maybe Text)))
228dynamicAttributesToModifyAttributes = dynamicAttributesToModifyAttributesWithInitial mempty
233dynamicAttributesToModifyAttributes = dynamicAttributesToModifyAttributesWithInitial mempty