Skip to content

Instantly share code, notes, and snippets.

@arbaaz
Created November 19, 2014 20:01
Show Gist options
  • Save arbaaz/15a51d69d76ce7009a82 to your computer and use it in GitHub Desktop.
Save arbaaz/15a51d69d76ce7009a82 to your computer and use it in GitHub Desktop.
Selection Change handler
selectChanged: function(e) {
if (typeof e.added === "undefined") {
//removed
console.log(e.removed.val);
} else {
//added
console.log(e.added.val);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment