nAttr' "details" (A.attrMap <$> bm)

-- | A short-hand notion for @ elDynAttr \"details\" ... @
detailsD ∷ forall t m a. (DomBuilder t m, PostBuild t m) ⇒ Dynamic t Details → m a → m a
detailsD bm children = snd <$> detailsD' bm children


-------------------
detailsD' ∷ forall t m a. (DomBuilder t m, PostBuild t m) ⇒ Dynamic t Details → m a → m (Element EventResult (DomBuilderSpace m) t, a)
detailsD' bm  = elDynAttr' "details" (A.attrMap <$> bm)
detailsD' bm  = elDynAttr' "details" (A.attrMap <$> bm)