web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.5 KiB

  1. /**
  2. * Safe Element.localName for all supported environments
  3. * @param element
  4. */
  5. export declare function getLocalName(element: Element): string;
  6. export declare function isElement(node: Node | null): node is Element;
  7. export declare function isHTMLTableCaptionElement(node: Node | null): node is HTMLTableCaptionElement;
  8. export declare function isHTMLInputElement(node: Node | null): node is HTMLInputElement;
  9. export declare function isHTMLSelectElement(node: Node | null): node is HTMLSelectElement;
  10. export declare function isHTMLTableElement(node: Node | null): node is HTMLTableElement;
  11. export declare function isHTMLTextAreaElement(node: Node | null): node is HTMLTextAreaElement;
  12. export declare function safeWindow(node: Node): Window;
  13. export declare function isHTMLFieldSetElement(node: Node | null): node is HTMLFieldSetElement;
  14. export declare function isHTMLLegendElement(node: Node | null): node is HTMLLegendElement;
  15. export declare function isHTMLSlotElement(node: Node | null): node is HTMLSlotElement;
  16. export declare function isSVGElement(node: Node | null): node is SVGElement;
  17. export declare function isSVGSVGElement(node: Node | null): node is SVGSVGElement;
  18. export declare function isSVGTitleElement(node: Node | null): node is SVGTitleElement;
  19. /**
  20. *
  21. * @param {Node} node -
  22. * @param {string} attributeName -
  23. * @returns {Element[]} -
  24. */
  25. export declare function queryIdRefs(node: Node, attributeName: string): Element[];
  26. export declare function hasAnyConcreteRoles(node: Node, roles: Array<string | null>): node is Element;
  27. //# sourceMappingURL=util.d.ts.map