Accessing DOM elements and composition lifecycle for non-viewModels in Aurelia -
    i have application closely tied dom. need keep track of size , position of elements represent objects behind them.   myviewmodel.js   export class myviewmodel {      // root view model has important properties      // other functions , objects need use     constructor() {         this.importantproperty = 'veryimportant';         this.things = [];     }      // create things in view model     // represented in dom     creatething() {         this.things.push({             isathing: true         });     }      // things things in view model      // depend on root view model     dosomethingwiththing(thing, property) {         thing[property] = `${this.importantproperty}${property}`;     }      // need know dom representation     // of things in view model     doanotherthingwiththing(thing) {         console.log(`the height of thing ${thing.height}`);     }      lookandseewhatsizethisthingis(element, thing) {         thing.height = element.clientheight;         thing.width = el...