Angular @ViewChild() error: Expected 2 arguments, but got 1

Source: https://stackoverflow.com/questions/56704164/angular-viewchild-error-expected-2-arguments-but-got-1

In Angular 8 , ViewChild takes 2 parameters
 @ViewChild(ChildDirective, {static: false}) Component

Không có nhận xét nào:

anti-pattern là gì

  Trong công nghệ và lập trình, Anti-pattern (mẫu phản diện) là những giải pháp bề ngoài có vẻ hiệu quả để giải quyết một vấn đề phổ biến, ...