0.2.0 • Published 1 year ago

@web-inmars/mars-textfield v0.2.0

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

mars-textfield

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

Installation

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

Usage

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

<mars-textfield>
     I am a textfield
</mars-textfield>

Properties

PropertyAttributeTypeDefault
captioncaptionstring""
disableddisabledbooleanfalse
forforstring""
labellabelstring""
namenamestring""
placeholderplaceholderstring""
showCaptionshow-captionbooleanfalse
typetypestring"text"
valuevaluestring""
variantvariantstring""

Events

EventType
on-inputCustomEvent<{ event: any; value: string; }>
0.1.12

1 year ago

0.1.13

1 year ago

0.1.14

1 year ago

0.2.0

1 year ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.8

2 years ago

0.1.6

2 years ago

0.1.4

3 years ago

0.1.5

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

0.0.3

3 years ago