How to access the observables in custom bindings when using Knockout-ES5
问题 If the model properties are ko.observable(), these can be accessed as below within the custom binding. var observable = valueAccessor(); When using Knockout-ES5 plugin how to get hold of the observable within the custom binding? Check the code below and look for comment "How to get propertyName here?" JS Fiddle when not using Knockout-ES plugin courtesy of Another Look at Custom Bindings for KnockoutJS Updated fiddle with model changed to use Knockout-ES plugin ko.bindingHandlers.datepicker =