0.0.3 • Published 4 years ago

manny-components v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Built With Stencil

manny-components@0.0.2

Collection of Material Design based Web Component using Stencil and Materialize css as base.

Status

Collection only includes an ssn and sin input fields as of now but will be adding more weekly.

Getting Started

Have not tested as module yet, but cdn works fine.

npm i manny-components

Then if you are using a framework or library, follow their instructions to register the web components so you can use them within your application.

You can also use the unpkg cdn and load into your html by adding:

<script src="https://unpkg.com/manny-components@0.0.2/dist/manny-components/manny-components.js"></script>

Then just use anywhere within your application. You can also add props as attributes. These are described below.

  <ssn-input></ssn-input>

  <ssn-input></ssn-input>

Properties

PropertyAttributeDescriptionTypeDefault
fieldValidfield-validbooleannull
isHiddenis-hiddenbooleanfalse
isReadOnlyis-read-onlyconverts first 4 digits to dots and sets input field as disabledbooleanfalse
isRequiredis-requiredadds required field validationbooleanfalse
labellabelstring''
propValueprop-valuestring''
rules--any[][]

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago