UNPKG

happy-dom-without-node

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

27 lines 481 B
/** * Based on implementation from JSDOM. * * @see https://github.com/jsdom/jsdom/blob/master/lib/jsdom/living/nodes/HTMLMediaElement-impl.js#L7 */ export default class TimeRange { constructor() { this.length = 0; } /** * Returns start. * * @returns Start. */ start() { return 0; } /** * Returns end. * * @returns End. */ end() { return 0; } } //# sourceMappingURL=TimeRange.js.map