custom-input.axml 813 B

12345678910111213141516171819202122232425
  1. <view onTap='tapHandler' catchTap='catchtapHandler'>
  2. <input
  3. value='{{value}}'
  4. class='{{className}}'
  5. type='{{type}}',
  6. style='{{style}}',
  7. name='{{name}}',
  8. password='{{password}}',
  9. placeholder='{{placeholder}}',
  10. placeholder-style='{{placeholderStyly}}',
  11. placeholder-class='{{placeholderClass}}',
  12. disabled='{{disabled}}',
  13. maxlength='{{maxlength}}',
  14. focus='{{focus}}',
  15. confirm-type='{{confirmType}}',
  16. confirm-hold='{{confirmHold}}',
  17. cursor='{{cursor}}',
  18. selection-start='{{selectionStart}}',
  19. selection-end='{{selectionEnd}}',
  20. onInput='inputHandler',
  21. onFocus='focusHandler',
  22. onConfirm='confirmHandler',
  23. onBlur='blurHandler'
  24. />
  25. </view>