Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

getCusorPostion

  • getCusorPostion(el: HTMLFormElement): number

获取输入框中光标所在位置

Parameters

  • el: HTMLFormElement

    需要获取的输入框元素

Returns number

光标所在位置的下标

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.