Files
DefinitelyTyped/knockout-pre-rendered/knockout-pre-rendered-tests.ts
2016-05-10 12:22:25 -07:00

15 lines
838 B
TypeScript

function initBindingHandler() {
ko.bindingHandlers.init = {
init: (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => {},
update: (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => {}
};
}
function foreachInitBindingHandler() {
ko.bindingHandlers.foreachInit = {
init: (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => { },
update: (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext) => { }
};
}