If I reference an element in the html template by “ref” keyword, in which lifecycle hook is it guaranteed to be available?
<template>
<div ref="test"></div>
</template>
export class MyComponent {
test: Element;
bind() {
console.log(this.test); // Is "test" guaranteed to be available here?
}
}
Thanks for any help!