welcome to Windoz

This commit is contained in:
STEINNI
2025-10-14 16:31:07 +00:00
parent 8005e31931
commit fdefe42146
24 changed files with 79 additions and 88 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
if(!app.helpers) app.helpers = {}
/**
* Mixing add-in methods to your view instance.
* All of this should not be a helper, but inherited this from EICDomContent, but not my framework anymore.
* All of this should not be a helper, but inherited this from WindozDomContent, but not my framework anymore.
* @category MyEic
*/
app.helpers.activeAttributes = {
@@ -12,7 +12,7 @@ app.helpers.activeAttributes = {
* setupTriggers is re-entrant: it can be called again after refreshing part of the view
* @param {eicui-components []} components : the view's components (usually result of ui.eicfy(this.el) )
*/
setupTriggers(components){ // Should inherit this from EICDomContent, but not my framework anymore.
setupTriggers(components){ // Should inherit this from WindozDomContent, but not my framework anymore.
for(let component of components.filter(component => component.el.hasAttribute('data-trigger'))) {
if(typeof this[component.el.dataset.trigger] !== 'function') {
console.warn(`data-trigger without corresponding method : ${component.el.dataset.trigger}`)