Closed robframpton closed 2 years ago
Currently this is how the LAUT will change the handler property of the buttons in a toolbar.
toolbarChildren.push( { handler: function(event) { someFunction(); }, icon: 'add-coworker', } );
toolbarChildren.push( { on: { click: function(event) { someFunction(); }}, icon: 'add-coworker', } );
It should be formatted as.
toolbarChildren.push( { on: { click: function(event) { someFunction(); } }, icon: 'add-coworker', } );
Currently this is how the LAUT will change the handler property of the buttons in a toolbar.
It should be formatted as.