0.0.5 • Published 1 year ago

strewlabs-input v0.0.5

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

StrewLabs | Input

This is an Angular template code that represents a form input field. The input field is created using the "input" HTML tag and it has several properties assigned to it such as type, style, required, ngModel, disabled, and event listeners for keyup and change events. The input is also surrounded by several other HTML elements such as a label, a highlight and a bar element, which could be used for styling purposes. The presence of these elements and the input field is conditionally controlled by the "ngIf" directive.

How to use

1. install npm i strewlabs-input

2. Add SlInputModule to imports in app.module.ts file

3. You may add input fields by using the <sl-input></sl-input> tag

4. Also, you can use inputs/outputs to customize as per your requirement

Inputs

NameIs RequiredDefault ValueDescription
labelNameNo' 'Label for the input field
labelStylesNo--
underlineColorNo#5264AE-
inputTypeNoText-
widthNo300px-
requiredNotrue-
disabledNofalse-
inputValueNo--

Outputs

NameDescription
valueuser input value
dynamicValuedynamic user input value

Contact Us

info@strewlabs.com

👇 You can buy me a coffee if you like 🤗

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago