This library contains component for text-field
$npm install kapela-text-field
import { KapelaTextFieldComponent } from 'kapela-text-field';
@Component({
...
imports: [KapelaTextFieldComponent],
...
})
<kapela-text-field></kapela-text-field>
Nom | Type | default | Comments |
---|---|---|---|
id | string |
k-input-{sequence} |
id of the text-field |
name | string |
k-input--name-{sequence} |
name of the text-field |
disabled | boolean |
false |
set disabled or not the text-field |
placeholder | string |
placeholder of the text-field | |
title | string |
tooltip of the text-field | |
label | string |
label | label of the text-field |
value | string |
value of the text-field | |
required | boolean |
false |
set required or not the text-field |
Name | Type | Comments |
---|---|---|
valueChanged | EventEmitter<string> |
use to handle value change event , send the value as data |
import { KapelaSelectNormalDirective } from 'kapela-select';
@Component({
...
imports: [ KapelaSelectNormalDirective ],
...
})
selector | usage | Comments |
---|---|---|
kapela-text-field-normal | <kapela-select kapela-text-field-normal></kapela-select> |
make to an native text field |