class FlexExample extends lng.Application {
static _template() {
return {
x: 10,
w: 750,
y: 10,
Sample_Wrong:{
w:(w=>w),
h:200,
text:{
text:"STRECHED"
}
},
Sample_Expected:{
y: 50,
w:750,
h:200,
text:{
text:"EXPECTED"
}
}
}
}
}
const options = {stage: {w: window.innerWidth, h: window.innerHeight, useImageWorker: false}};
const app = new FlexExample(options);
document.body.appendChild(app.stage.getCanvas());

@thiblahute @Ms2ger @basvanmeurs @clopez @kuscsik