I am developing a component in Angular2 (Beta 8). The component has a textbox and a dropdown. I would like to set the focus in textbox as soon as component is loaded or on c
Also, it can be done dynamically like so...
Where input is
const input = { id: "my-input", type: "text", autofocus: true };