function Alert() {
        this.mode = LiteGraph.ON_EVENT;
        this.addProperty("msg", "");
        this.addInput("", LiteGraph.EVENT);
        var that = this;
        this.widget = this.addWidget("text", "Text", "", function(v) {
            that.properties.msg = v;
        });
        this.widgets_up = true;
        this.size = [200, 30];
    }
//Show value inside the debug console
Show value inside the debug console
Show value inside the debug console
function Alert() {
        this.mode = LiteGraph.ON_EVENT;
        this.addProperty("msg", "");
        this.addInput("", LiteGraph.EVENT);
        var that = this;
        this.widget = this.addWidget("text", "Text", "", function(v) {
            that.properties.msg = v;
        });
        this.widgets_up = true;
        this.size = [200, 30];
    }
function Alert ( ) { this . mode = LiteGraph . ON_EVENT ; this . addProperty ( "msg" , "" ) ; this . addInput ( "" , LiteGraph . EVENT ) ; var that = this ; this . widget = this . addWidget ( "text" , "Text" , "" , function ( v ) { that . properties . msg = v ; } ) ; this . widgets_up = true ; this . size = [ 200 , 30 ] ; }
Show value inside the debug console
Show value inside the debug console