16 lines
315 B
JavaScript
16 lines
315 B
JavaScript
import * as html from "../html.js";
|
|
import Item from "../item.js";
|
|
|
|
export default class Playlist extends Item {
|
|
constructor(name) {
|
|
super();
|
|
this.name = name;
|
|
}
|
|
|
|
connectedCallback() {
|
|
html.icon("playlist-music", this);
|
|
this._buildTitle(this.name);
|
|
}
|
|
}
|
|
|
|
customElements.define("cyp-playlist", Playlist);
|