slamdata/purescript-halogen-menu

Name: purescript-halogen-menu

Owner: SlamData, Inc.

Description: null

Created: 2015-10-29 22:58:42.0

Updated: 2018-04-25 14:14:39.0

Pushed: 2017-04-24 11:19:37.0

Homepage: null

Size: 38

Language: PureScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

purescript-halogen-menu

Latest release Build status

A reusable halogen component that presents an interactive menu.

HTML

Menus are rendered as unordered lists of submenus which can be selected and dismissed. Selected submenus are also rendered as unordered lists.

Here is an example of a rendered menu with the first submenu selected.

<li><button>Color</button><ul><li><button>Load color</button></li><li><button>Save color</button></li></ul></li><li><div><button>Edit</button></div></li></ul>
Guide
Installing purescript-halogen-menu
Rendering a menu
Dismissing submenus when onclick events are triggered outside of a menu component
Making a menu perform actions
Styling a menu
Module documentation

Module documentation is published on Pursuit.

Example

An example Halogen application which uses purescript-halogen-menu is available here.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.