Files
TSYSDevStack/CloudronStack/output/CloudronPackages-Artifacts/tirreno/ui/js/parts/StaticTiles.js
ReachableCEO 91d52d2de5 feat(cloudron): add tirreno package artifacts
- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents
- Includes package manifest, Dockerfile, source code, documentation, and build artifacts
- Add tirreno-1761840148.tar.gz as a build artifact
- Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package
- Include all necessary files for the tirreno Cloudron package

This adds the complete tirreno Cloudron package artifacts to the repository.
2025-10-30 11:43:06 -05:00

31 lines
742 B
JavaScript

import {Loader} from './Loader.js?v=2';
export class StaticTiles {
constructor(tilesParams) {
const me = this;
this.config = tilesParams;
this.loaders = {};
this.config.elems.forEach(elem => {
me.loaders[elem] = new Loader();
});
const onDateFilterChanged = this.onDateFilterChanged.bind(this);
window.addEventListener('dateFilterChanged', onDateFilterChanged, false);
this.runLoaders();
}
onDateFilterChanged() {
this.runLoaders();
}
runLoaders() {
for (const property in this.loaders) {
const el = document.querySelector(`.${property} .title`);
this.loaders[property].start(el);
}
}
}