javascript - binding a custom event using knockout -
this question has reply here:
using knockout js jquery ui sliders 3 answersi using jquery ui slider command raises alter event. want utilize knockout bind alter event , phone call method within model. how done? confused, because event isn't related dom or typically used bind.
why not utilize event listener sets model variable, ie
var callback = function(value) { komodel.somevariable(value); }
and utilize callback slider.
javascript knockout.js
No comments:
Post a Comment