Angular2 - Show/Hide section on selection of radio button

后端 未结 2 1772
醉酒成梦
醉酒成梦 2021-02-19 22:56

I have to show or hide sections based on selection of radio button

 

        
2条回答
  •  伪装坚强ぢ
    2021-02-19 23:31

    A
    B
    C

    if you want to preselect the value type then type

     model.prop = 'A';
    

    in your .ts file

提交回复
热议问题