Files
seasoned/src/directives/v-image.js
Kevin 8e586811ec Feat: vite & upgraded dependencies (#100)
* On every route change, update local variables from query params

* ResultSection is keyed to query to force re-render

* Resolved lint warnings

* replace webpack w/ vite

* update all imports with alias @ and scss

* vite environment variables, also typed

* upgraded eslint, defined new rules & added ignore comments

* resolved linting issues

* moved index.html to project root

* updated dockerfile w/ build stage before runtime image definition

* sign drone config
2026-02-23 20:53:19 +01:00

22 lines
359 B
JavaScript

/*
const setValue = function(el, binding) {
const img = new Image();
img.src = binding.value;
img.onload = function() {
this.src = img.src;
this.classList.add("is-loaded");
}.bind(el);
};
module.exports = {
isLiteral: true,
bind(el, binding) {
setValue(el, binding);
},
update(el, binding) {
setValue(el, binding);
}
};
*/