Skip to content

sli/swapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swapper

A simple list-swapper for Elm.

Features

  • Give it a list
  • Swap items between two sides

Styling

Everything is given a class that can be targeted.

  • div.swapper - The swapper container.
  • swapper__available - The available (left) multiselect.
  • swapper__enabled - The enabled (right) multiselect.
  • swapper__controls - Container for the swap controls.
  • swapper__button - Swap control button.
  • swapper__button-enable - Enable Selected button.
  • swapper__button-disable - Disable Selected button.
  • swapper__button-enableall - Enable All button.
  • swapper__button-disableall - Disable All button.

Usage

Heads up: this package isn't published yet!

Install from the package repository:

$ elm install sli/swapper

Check out the basic example.

Releases

No releases published

Packages

No packages published

Languages