Cannot read property 'native-element' of undefined

后端 未结 8 810
借酒劲吻你
借酒劲吻你 2020-12-09 02:34

I am using ionic 2.

I need to get HTML element value.

Actually, I used viewchild.

Here is my html template code

8条回答
  •  感情败类
    2020-12-09 03:05

    Do not specify the type of variable abc. It should be like below:

     @ViewChild('abc') abc;
    

提交回复
热议问题