diag: ready bind on root VBox to inspect AgentIO widget state
This commit is contained in:
parent
3399e10b4a
commit
0b03b310f0
@ -200,5 +200,14 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"binds": [
|
||||||
|
{
|
||||||
|
"wid": "self",
|
||||||
|
"event": "ready",
|
||||||
|
"actiontype": "script",
|
||||||
|
"target": "self",
|
||||||
|
"script": "console.log('DIAG: VBox ready');var ai=bricks.getWidgetById('chat_input',bricks.app);console.log('DIAG: chat_input=',ai?'found':'NOT FOUND','type=',ai?ai.constructor.name:'N/A','url=',ai?ai.opts.url:'N/A');if(ai&&ai.inputw){ai.inputw.unbind('inputed');ai.inputw.bind('inputed',function(e){console.log('DIAG: inputed params=',JSON.stringify(e.params));});}"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user