Webix layout application Event

Hi, how can i trigger a event using webix.event(node, function), but instead using it for a layout event, eg. change window inside aplication. Thanks in advance


I’m not sure that I understand you correctly, so, here are two cases:

  1. webix.event(window, "resize", function(){ $$('test').adjust();})
    Please, check the following example: Code Snippet

  2. webix.event($$("window1").getNode(), "focus", function(e){})
    Example: Code Snippet

If there’s some other kind of behavior you wanted to achieve, please, specify the use-case.

Thanks so much Nastassia :slight_smile: