An open API service indexing awesome lists of open source software.

https://github.com/helpfulscripts/hswidget

Provides various UI widgets for use with mithril. See:
https://github.com/helpfulscripts/hswidget

es6 hsdocs mithriljs typescript ui-widgets

Last synced: 2 months ago
JSON representation

Provides various UI widgets for use with mithril. See:

Awesome Lists containing this project

README

        

hsWidget
========
[![NPM License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://www.npmjs.com/package/hswidget)
[![npm version](https://badge.fury.io/js/hswidget.svg)](https://badge.fury.io/js/hswidget)
[![docs](https://img.shields.io/badge/hsDocs-hsWidget-blue.svg)](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/0)
[![Build Status](https://github.com/HelpfulScripts/hsWidget/workflows/CI/badge.svg)](https://github.com/HelpfulScripts/hsWidget/)
[![codecov](https://codecov.io/gh/HelpfulScripts/hsWidget/branch/master/graph/badge.svg)](https://codecov.io/gh/HelpfulScripts/hsWidget)
[![Known Vulnerabilities](https://snyk.io/test/github/HelpfulScripts/hsWidget/badge.svg?targetFile=package.json)](https://snyk.io/test/github/HelpfulScripts/hsWidget?targetFile=package.json)
[![Dependencies Status](https://david-dm.org/helpfulscripts/hswidget.svg)](https://david-dm.org/helpfulscripts/hswidget)

Helpful Scripts UI widgets.

**hsWidget** Provides various UI widgets for use with mithril:

## Widgets
- [Menu](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.Menu.Menu): A group of horizontal menu items that can trigger actions
- [Button](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.Button.Button): A simple button widget
- [Collapsible](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.Collapsible): A panel that will expand znd collapse when the title is clicked
- [Modal]((https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.Modal): A modal panel that will cover the entire window until released.
- [AddButton](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.AddRemove): An inline `+` button that will open a form for adding new elements.
- [RemoveButton](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.AddRemove): An inline `-` button that will remove an item.
- [TypeAhead](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.TypeAhead): A TypeAhead search input form.
- [Slider](https://helpfulscripts.github.io/hsWidget/#!/api/hsWidget/hsWidget.Slider): A nominal or continuous slider.

## Installation
`npm i hswidget`