简体   繁体   中英

check if checkbox checked using ngcheck doesn't work

Here's the logic but I'm facing problems to continue.

mouseenter/mouseleave to show/hide checkbox, if checkbox checked deactive the mouse and leave function to make the checkbox stay visible.

my code and demo http://plnkr.co/edit/LdBbWzbpKC1TSR7faslf?p=preview

Here's one possibility:

http://plnkr.co/edit/Sx19bbWGmuovMhVW62PC?p=preview

<input ng-show="showC || checked" type="checkbox" 
       id="{{$index}}" ng-model="checked">

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM