Below is a list of all the custom triggers supported in the "data-select-js" binding attribute for DOM elements.
Fires when the rendering for a a DOM element is complete.
Parameter: element: 'object' - The DOM element that was rendered.
Fires when the selected items have changed.
Parameter: values: 'string[]' - The values that have been selected.
Fires when the drop-down menu is shown.
Fires when the drop-down menu is hidden.
<select multiple="multiple" data-select-js="{ 'events': { 'onRenderComplete': yourJsFunction } }">
<option value="1" selected="selected">Value 1</option>
<option value="2">Value 2</option>
<option value="2">Value 3</option>
</select>