版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

21 řádky
652 B

  1. import ICharacterData from '../character-data/ICharacterData';
  2. export default interface IText extends ICharacterData {
  3. /**
  4. * Breaks the Text node into two nodes at the specified offset, keeping both nodes in the tree as siblings.
  5. *
  6. * @see https://dom.spec.whatwg.org/#dom-text-splittext
  7. * @see https://dom.spec.whatwg.org/#dom-text-splittext
  8. * @param offset Offset.
  9. * @returns New text node.
  10. */
  11. splitText(offset: number): IText;
  12. /**
  13. * Clones a node.
  14. *
  15. * @override
  16. * @param [deep=false] "true" to clone deep.
  17. * @returns Cloned node.
  18. */
  19. cloneNode(deep?: boolean): IText;
  20. }