@frui.ts/bootstrap
TypeScript icon, indicating that this package has built-in type declarations

0.17.5 • Public • Published

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 in items that contain item's key. Default is "id".
  • textProperty - name of the property in items 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 with undefined value.
  • isNumeric - when in the key mode, keys are by default string. 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 to true, the control displays indeterminate state if the bound value is null
  • value - this value is set to the bound property when the check is selected. Default set to true so that checkboxes by default.
TODO

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.17.5
    1
    • latest

Version History

Package Sidebar

Install

npm i @frui.ts/bootstrap

Weekly Downloads

305

Version

0.17.5

License

MIT

Unpacked Size

66.9 kB

Total Files

30

Last publish

Collaborators

  • jindrichskupa
  • zales
  • eman.devops
  • strnadj
  • gius