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

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -