@frui.ts/bootstrap
v0.17.5
Published
Bootstrap controls ready for Frui.ts integration
Downloads
1,210
Readme
bootstrap
Bootstrap controls ready for Frui.ts integration. Mainly input controls wrapped in BindingComponent
.
Input
TODO
Select
items
- list of available values.keyProperty
- name of the property initems
that contain item's key. Default is"id"
.textProperty
- name of the property initems
that contain item's label displayed in the dropdown control. Default is"label"
.mode
- specify if only the key or the whole selected entity should be set to the bound property. Default is"item"
.allowEmpty
- displays an empty item withundefined
value.isNumeric
- when in thekey
mode, keys are by defaultstring
. If you want to use numbers only, you need to enable this prop.
TODO
Check
You can use all props as in React Boostrap Check, especially:
type
- specify type of the control:"check" | "radio" | "switch"
id
- unique identifier used to bind label with the actual<input>
control
Moreover, the are the follofing additional props:
threeState
- if set totrue
, the control displaysindeterminate
state if the bound value isnull
value
- this value is set to the bound property when the check is selected. Default set totrue
so that checkboxes by default.
TODO