Module

Jelly.Data.Props

Package
purescript-jelly
Repository
yukikurage/purescript-jelly

#on Source

on :: String -> (Event -> Jelly Unit) -> Prop

Make Listener Prop. ex) on "click" \ev -> ...

#attr Source

attr :: String -> Jelly String -> Prop

Make Attribute Prop. ex) attr "id" $ pure "hoge-id"

#classes Source

classes :: Array (Jelly String) -> Prop

Make class attribute from Array.