zacck-zz / elm-select

A selection input with auto-complete

Home Page:http://package.elm-lang.org/packages/sporto/elm-select/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elm Select

Codeship Status for sporto/elm-select

An select component with autocomplete and optional multi-select.

Demo

See https://sporto.github.io/elm-select/

Example and Getting started

See commented example at demo/src/Example1Basic.elm

API

http://package.elm-lang.org/packages/sporto/elm-select/latest

Styling

You can style elements using:

  • Using global classes e.g. .elm-select-input
  • Pass classes via configuration e.g. withInputClass
  • Passing styles via configuration e.g. withInputStyles

To add borders and padding to the input use InputWrapper instead of Input.


Run demo locally

make run-demo

Open localhost:4000

Generate demo

make build-demo

Test

make test

About

A selection input with auto-complete

http://package.elm-lang.org/packages/sporto/elm-select/latest

License:MIT License


Languages

Language:Elm 99.5%Language:Makefile 0.5%