vitalets / angular-xeditable

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

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

Open CheekuMaa opened 6 years ago

CheekuMaa commented 6 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 6 years ago

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