I have a component where I wanted to access some elements with ref attached.
I noticed that the ref elements were undefined when trying to access them from the activate callback.
So I have now added the attached callback. however, this never seems to fire.
What and I missing ?
My class is something like below. All callbacks fire except attached. Thanks
@inject(App, User, TaskQueue)
export class Test {
created(owningView, myView) {
// Invoked once the component is created...
debugger;
}
bind(bindingContext, overrideContext) {
// Invoked once the databinding is activated...
debugger;
}
activate(urlParams, routeMap, navInstr) {
debugger;
}
attached(argument) {
debugger;
}
}
It seems to be called on my other two machines. Whether it should be I don’t know but there seems to be a bug somewhere that has been introduced. I need to go through my dependencies at some point.
Thanks