Created
May 11, 2016 14:36
-
-
Save yojeek/91487f898b1b7d78b62123dbb1ef203a to your computer and use it in GitHub Desktop.
ExtJS 6 ViewModel isDirty binding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isDirty : { | |
bind : { | |
bindTo : '{record}', | |
deep : true | |
}, | |
get : function (record) { | |
return record ? record.dirty : false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment