Cannot read property of undefined angular2 ngif

前端 未结 3 1469
无人及你
无人及你 2020-12-20 16:26

I am now able to get the object in the view however I cannot run an if statement. Per previous answer this is how I am bringing in the object.

public getPos         


        
3条回答
  •  鱼传尺愫
    2020-12-20 16:37

    I used {{ }} while they are not needed. Getting rid of them fixed it for me.

    So this

  • Should be

提交回复
热议问题