<input ref:input>
<button on:click='refs.input.focus()'>focus input</button>