vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 404 forks source link

how to change xeditable color while data change in angular JS X-editable #741

Open CheekuMaa opened 5 years ago

CheekuMaa commented 5 years ago

I have editable text , if user edits value say from 10 to 20 , editable colour should change from Default colour (Blue) to Green ..

This will help user to identify that there was a change made

ckosloski commented 5 years ago

I think you could add something like this to your editable link: ng-class="{your_class: your_item >= 10 && your_item <= 20}