onSelectionChanged method
Implementation
void onSelectionChanged(int selStart, int selEnd) {
if (selectionChangeEventEnable) {
var selection = VoltronMap();
selection.push("start", selStart);
selection.push("end", selEnd);
var paramsMap = VoltronMap();
paramsMap.push("selection", selection);
context.renderBridgeManager.sendComponentEvent(
rootId,
id,
TextInputController.kEventOnSelectionChange,
paramsMap,
);
}
}