Closed anghuang closed 8 years ago
<input type="button" value="1222" (click)='isShow=!isShow'/> <div [style.display]='isShow?"block":"none"' >333
这个和ng2没关系。
<input type="button" value="1222" (click)='isShow=!isShow'/> <div [style.display]='isShow?"block":"none"' >333