0.2.10 • Published 1 year ago

@web-inmars/mars-checkbox v0.2.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

0.2.6

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.4

2 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago