Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

XMLDocument

An XML document. It inherits from the generic Document and does not add any specific methods or properties to it: nevertheless, several algorithms behave differently with the two types of documents.

interface XMLDocument extends Document {
addEventListener<K extends keyof DocumentEventMap>(
type: K,
listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof DocumentEventMap>(
type: K,
listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var XMLDocument: {
prototype: XMLDocument;
new (): XMLDocument;
}
;

§Extends

§Methods

§
addEventListener<K extends keyof DocumentEventMap>(
type: K,
listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof DocumentEventMap>(
type: K,
listener: (this: XMLDocument, ev: DocumentEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]