6 
 
        
      
      ฉันจะใช้ตัวเลือกคงที่ใหม่สำหรับ @ViewChild ใน Angular 8 ได้อย่างไร
      
  ฉันควรกำหนดค่าลูกมุมมอง Angular 8 ใหม่ได้อย่างไร @ViewChild('searchText', {read: ElementRef, static: false}) public searchTextInput: ElementRef; VS @ViewChild('searchText', {read: ElementRef, static: true}) public searchTextInput: ElementRef; ไหนดีกว่ากัน เมื่อฉันควรใช้static:trueVS static:false?