This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IncludeHtml extends HTMLElement { | |
static get observedAttributes(): Array<string> { | |
return ["url"]; | |
} | |
constructor() { | |
super(); | |
} | |
connectedCallback(): void { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AndroidProgressBar extends HTMLElement { | |
#root: ShadowRoot; | |
#svg: SVGSVGElement; | |
#circle: SVGCircleElement; | |
static #MIN_SPEED_RATE: number = 1.5; | |
static #MAX_SPEED_RATE: number = 3; | |
constructor() { | |
super(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class Modal { | |
/** @type {boolean} */ | |
static #isModalOpen = false; | |
/** @type {boolean} */ | |
static #isRtl = false; | |
/** @param {boolean} bool */ | |
static set isRtl(bool) { |