cyp/app/js/cyp.js

20 lines
543 B
JavaScript
Raw Normal View History

2020-03-15 05:18:54 +08:00
import "./elements/range.js";
import "./elements/app.js";
import "./elements/menu.js";
import "./elements/player.js";
import "./elements/queue.js";
import "./elements/playlists.js";
import "./elements/settings.js";
import "./elements/yt.js";
import "./elements/song.js";
import "./elements/library.js";
import "./elements/tag.js";
import "./elements/back.js";
import "./elements/path.js";
2020-06-23 04:25:35 +08:00
function updateSize() {
document.body.style.setProperty("--vh", window.innerHeight/100);
}
window.addEventListener("resize", updateSize);
updateSize();