5.20232.939
wijmo.react.input Class ListBox Wijmo API Class

ListBox Class

React component for the wijmo.input.ListBox control.

The component supports all properties and events of the pure JavaScript wijmo.input.ListBox control it represents.

The component includes an initialized event that is raised when the control is initialized after it is added to the page. You can use this event to perform further initialization in addition to setting properties in JSX. The signature of the handler function is the same as any other Wijmo event handlers.

The component includes a wjItemTemplate property which is used to define list item template. The template is a function with single argument. The argument is a plain object with keys of control (list control, owner of the list item), item (item data for the list item) and itemIndex (zero-based index of the list item).

Heirarchy