Files
tp-javascript-api-html/1-HTMLMediaElement V2/Track.js
2025-07-12 11:17:34 +02:00

22 lines
340 B
JavaScript

export class Track {
constructor(name, url) {
this.name = name;
this.url = url;
}
get name() {
return this._name;
}
set name(value) {
this._name = value;
}
get url() {
return this._url;
}
set url(value) {
this._url = value;
}
}