Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

troublete/js-te-checkmark

Repository files navigation

te-checkmark

Checkmark button custom element

Build Status

Purpose

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

Install

npm i -S te-checkmark

Usage

<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