版博士V2.0程序
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

26 строки
1023 B

  1. import INode from '../node/INode';
  2. export default interface IChildNode extends INode {
  3. /**
  4. * Removes the node from its parent.
  5. */
  6. remove(): void;
  7. /**
  8. * Inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just before this ChildNode. DOMString objects are inserted as equivalent Text nodes.
  9. *
  10. * @param nodes List of Node or DOMString.
  11. */
  12. before(...nodes: (INode | string)[]): void;
  13. /**
  14. * Inserts a set of Node or DOMString objects in the children list of this ChildNode's parent, just after this ChildNode. DOMString objects are inserted as equivalent Text nodes.
  15. *
  16. * @param nodes List of Node or DOMString.
  17. */
  18. after(...nodes: (INode | string)[]): void;
  19. /**
  20. * The Node.replaceWith() method replaces this Node in the children list of its parent with a set of Node or DOMString objects.
  21. *
  22. * @param nodes List of Node or DOMString.
  23. */
  24. replaceWith(...nodes: (INode | string)[]): void;
  25. }