Configuration

Use the following configuration options to bind the Bootstrap Input component.

Properties

Name

Default

Description

datamap

Used to bind data to the component. See Data Binding for details.

value

Value to set into the input

The following example put the value Jim Kennedy into the input text box.

const input = new wire.bsInput().render("#input", {
    value: "Jim Kennedy"
});

Note, this is a static bind. The component does not listen for changes unless the component uses dynamic data binding for the same value..

Last updated