javascript - How to autofocus/autoclick paper-input in polymer 1.0? -
i able use javascript , call .click() or .focus() in order have paper-input ready typing in polymer 0.5.6.
1.0 seems have lost ability. there way have input ready type either using js or using new 1.0 polymer api?
according documentation @ https://elements.polymer-project.org/elements/paper-input?active=polymer.paperinputbehavior should work:
<paper-input autofocus></paper-input>
Comments
Post a Comment