marquee-text-element
Version:
An elemen which scrolls the text inside it like the traditional [marquee](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee) element found in the browsers of yesteryear.
15 lines (14 loc) • 446 B
TypeScript
declare class MarqueeTextElement extends HTMLElement {
#private;
static observedAttributes: string[];
get duration(): string;
set duration(value: string);
attributeChangedCallback(name: 'duration', oldValue: null | string, newValue: null | string): void;
connectedCallback(): void;
}
declare global {
interface Window {
MarqueeTextElement: typeof MarqueeTextElement;
}
}
export default MarqueeTextElement;