Manipulating control accessed with "byId" has no effect
I have a sample of icons in a HBox in an XML view as below:
In controller to set visible false, I am doing as:
let testIcon1 = this.getview().byId('test1');
testIcon1.setVisible(false);
But this isn't working.