export function changeSelection(input, selection) {
    var indexSelection = input.value.indexOf(selection || '');
    if (input && selection && indexSelection >= 0) {
        input.focus();
        input.setSelectionRange(indexSelection, indexSelection + selection.length);
    }
}
//# sourceMappingURL=input.js.map