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

HTMLHRElement

Provides special properties (beyond those of the HTMLElement interface it also has available to it by inheritance) for manipulating elements.

interface HTMLHRElement extends HTMLElement {
align: string;
color: string;
noShade: boolean;
size: string;
width: string;
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLHRElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var HTMLHRElement: {
prototype: HTMLHRElement;
new (): HTMLHRElement;
}
;

§Extends

§Properties

§
align: string
[src]

Sets or retrieves how the object is aligned with adjacent text.

§
color: string
[src]
§
noShade: boolean
[src]

Sets or retrieves whether the horizontal rule is drawn with 3-D shading.

§
size: string
[src]
§
width: string
[src]

Sets or retrieves the width of the object.

§Methods

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