版博士V2.0程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

IChildNode.d.ts 1023 B

12345678910111213141516171819202122232425
  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. }