vcl-flip-switch

0.1.2 • Public • Published

VCL flip-switch

A switch that can be toggled between two states.

Features

Two states between which can be toggled.

Usage

basic example

Classes

  • vclFlipSwitch
  • vclFlipSwitchLabel
  • vclFlipSwitchTrack
  • vclFlipSwitchKnob

Modifiers

  • vclFlipSwitchPressed

Variables

  • --flip-switch-height
  • --flip-switch-bg-color
  • --flip-switch-border-color
  • --flip-switch-active-bg-color
  • --flip-switch-active-color
  • --flip-switch-knob-bg-color

Demo

example.html on GH-pages.

/vcl-flip-switch/

    Package Sidebar

    Install

    npm i vcl-flip-switch

    Weekly Downloads

    1

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • dani723
    • vanthome