How do I manually do what ViewChild does?
@ViewChild
will grab a directive ref from the template. Using a class will only get the first. Getting others requires knowing the id upfront.
@ViewChild
will grab a directive ref from the template. Using a class will only get the first. Getting others requires knowing the id upfront.