0.1.13 • Published 1 year ago

@web-inmars/mars-radio-button v0.1.13

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

mars-radio-button

Web component that allows us to show an accessible and beautiful radio-button so that users can interact

Installation

  npm i @web-inmars/mars-radio-button --save

Usage

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

<mars-radio-button id="myRadioButton">
     I am a radio button!
</mars-radio-button>

Properties

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

Events

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

1 year ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago