Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.HTMLMarqueeElement
implements HTMLElement
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { HTMLMarqueeElement } = dom;

Provides methods to manipulate elements.

Properties

deprecated
behavior: string
deprecated
bgColor: string
deprecated
direction: string
deprecated
height: string
deprecated
hspace: number
deprecated
loop: number
deprecated
onbounce: ((this: HTMLMarqueeElement, ev: Event) => any) | null
deprecated
onfinish: ((this: HTMLMarqueeElement, ev: Event) => any) | null
deprecated
onstart: ((this: HTMLMarqueeElement, ev: Event) => any) | null
deprecated
scrollAmount: number
deprecated
scrollDelay: number
deprecated
trueSpeed: boolean
deprecated
vspace: number
deprecated
width: string

Methods

deprecated
start(): void
deprecated
stop(): void
addEventListener<K extends keyof HTMLMarqueeElementEventMap>(
type: K,
listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
removeEventListener<K extends keyof HTMLMarqueeElementEventMap>(
type: K,
listener: (this: HTMLMarqueeElement, ev: HTMLMarqueeElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void