If you convert your <input> element to a <lightning:input> or <ui:input> component, then add aura:id="myInputField" to the component then ... ... <看更多>
A JavaScript plugin for entering and validating international telephone numbers ... Format the input value (according to the nationalMode option) during ... ... <看更多>