HTMLHeadElement
Contains the descriptive information, or metadata, for a document. This object inherits all of the properties and methods described in the HTMLElement interface.
interface HTMLHeadElement extends HTMLElement {
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var HTMLHeadElement: {
prototype: HTMLHeadElement;
new (): HTMLHeadElement;
};§Extends
§Methods
§
addEventListener<K extends keyof HTMLElementEventMap>(
[src]type: K,
listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof HTMLElementEventMap>(
[src]type: K,
listener: (this: HTMLHeadElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void