Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

removeText

  • removeText(el: HTMLFormElement, start?: number, end?: number): void

在指定范围内删除文本

Parameters

  • el: HTMLFormElement

    需要设置的输入框元素

  • start: number = el.selectionStart Default value

    开始位置,默认为当前选中开始位置

  • end: number = el.selectionEnd Default value

    结束位置,默认为当前选中结束位置

Returns void

  • 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.