Module

Halogen.Menu.Component

Package
purescript-halogen-menu
Repository
slamdata/purescript-halogen-menu

#Query Source

data Query a next

Constructors

#State Source

type State a = { chosen :: Maybe Int, submenus :: Array (MenuItem a) }

#MenuItem Source

type MenuItem a = { label :: String, submenu :: State a }

#Message Source

data Message a

Constructors

#component Source

component :: forall r a m. MonadAff (dom :: DOM | r) m => Component HTML (Query a) (Input a) (Message a) m