ShopAI-Extension/scripts/GUI/entrypoints/inject.js
2024-04-28 13:08:35 +08:00

14 lines
No EOL
338 B
JavaScript

export default class injection {
constructor (parent, element, id, classes, options) {
let ELEMENTS = {};
ELEMENTS[`parents`] = ((typeof parent) != `object`) ? docuent.querySelectorAll(parent) : [...parent];
// must only run if there are elements to inject
if ((ELEMENTS[`parents`]).length > 0) {
}
};
}