0.0.1 • Published 2 months ago

kapela-text-field v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

About

This library contains component for text-field

Install

$npm install kapela-text-field

Usage

import

import { KapelaTextFieldComponent } from 'kapela-text-field';

@Component({
  ...
  imports: [KapelaTextFieldComponent],
  ...
})

dom

<kapela-text-field></kapela-text-field>

Attributes

NomTypedefaultComments
idstringk-input-{sequence}id of the text-field
namestringk-input--name-{sequence}name of the text-field
disabledbooleanfalseset disabled or not the text-field
placeholderstringplaceholder of the text-field
titlestringtooltip of the text-field
labelstringlabellabel of the text-field
valuestringvalue of the text-field
requiredbooleanfalseset required or not the text-field

Events

NameTypeComments
valueChangedEventEmitter<string>use to handle value change event , send the value as data

Directives

import

import { KapelaSelectNormalDirective } from 'kapela-select';

@Component({
  ...
  imports: [ KapelaSelectNormalDirective ],
  ...
})

dom

selectorusageComments
kapela-text-field-normal<kapela-select kapela-text-field-normal></kapela-select>make to an native text field
0.0.1

2 months ago