0.2.10 • Published 3 years ago

@web-inmars/mars-checkbox v0.2.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

mars-checkbox

Web component that allows us to show an accessible and beautiful checkbox so that users can interact

Installation

  npm i @web-inmars/mars-checkbox --save

Usage

<script type="module">
   import 'mars-checkbox/mars-checkbox.js';
</script>

<mars-checkbox id="marsCheckbox">
     I'm a checkbox
</mars-checkbox>

Properties

PropertyAttributeTypeDefault
captioncaptionstring""
checkedcheckedbooleanfalse
disableddisabledbooleanfalse
ididstring""
labellabelstring""
namenamestring""
showCaptionshow-captionbooleanfalse
valuevaluestring""
variantvariantstring""

Events

EventType
on-changeCustomEvent<{ event: any; }>
0.2.10

3 years ago

0.2.6

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.4

3 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago