Created
March 24, 2015 10:20
-
-
Save MatthewBarker/c910a4516f7b48d696dd to your computer and use it in GitHub Desktop.
Knockout-Kendo sparkline custom 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
ko.kendo.bindingFactory.createBinding({ | |
name: 'kendoSparkline', | |
bindingName: 'kendoSparkline', | |
watch: { | |
data: function(value) { | |
ko.kendo.setDataSource(this, value); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment