How to call public method of ViewChild in Angular 10

后端 未结 0 465
天涯浪人
天涯浪人 2021-01-07 05:22

I\'m trying to call a public method on a child component from my parent component but I\'m getting the error

core.js:5967 ERROR TypeError: this.foo.bar i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题