0.2.0 • Published 3 years ago

@web-inmars/mars-textfield v0.2.0

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

3 years ago

0.1.13

3 years ago

0.1.14

3 years ago

0.2.0

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.8

3 years ago

0.1.6

3 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.3

4 years ago