Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CheekuMaa opened this issue Sep 25, 2018 · 1 comment

Comments

@CheekuMaa
Copy link

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

@CheekuMaa CheekuMaa changed the title how-to-change-xeditable-color-while-data-change-in-angular JS X-editable how to change xeditable color while data change in angular JS X-editable Sep 25, 2018
@ckosloski
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants