项目作者: troublete

项目描述 :
Checkmark button custom element
高级语言: JavaScript
项目地址: git://github.com/troublete/js-te-checkmark.git
创建时间: 2017-11-13T19:59:31Z
项目社区:https://github.com/troublete/js-te-checkmark

开源协议:GNU General Public License v2.0

下载


te-checkmark

Checkmark button custom element

Build Status

Purpose

A checkbox alternative with no value, but caption and simple design.

Install

  1. npm i -S te-checkmark

Usage

  1. <te-checkmark>Optional</te-checkmark>

Properties

Property Type Description
checked boolean An indicator if the option button is checked.

CSS Variables

Var Description
—te-checkmark-padding The padding arround the checkmark (and the optional caption).
—te-checkmark-checked-color The :checked state color for font and border.

License

GPL-2.0 © Willi Eßer