UNPKG

happy-dom

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.

30 lines 573 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Based on implementation from JSDOM. * * @see https://github.com/jsdom/jsdom/blob/master/lib/jsdom/living/nodes/HTMLMediaElement-impl.js#L7 */ class TimeRange { constructor() { this.length = 0; } /** * Returns start. * * @returns Start. */ start() { return 0; } /** * Returns end. * * @returns End. */ end() { return 0; } } exports.default = TimeRange; //# sourceMappingURL=TimeRange.cjs.map