1.0.9 • Published 2 years ago
pixflow-detect-customize v1.0.9
Pixflow Detect Customize
This module allows to return the layer of specific tools such as crt, vhs and etc. with using the event call by index for example:
Suppose we have an object by name of controller for configuration. We invoke this class with input of setting panel and reload() function in this class with input controller and we modify by index event:
const DetectCustomize = reqiure("pixflow-detect-customize");
const dc = new DetectCustomize();
dc.reload(controller);
controller.addEventListener("index", function(e){
this.setAttribute("index", e.detail.index());
})Methods
/* HtmlElement element */
DetectCustomize(element)
/* HtmlElement controller */
reload(controller)
detect()
Event index