Files
DefinitelyTyped/knockout-pre-rendered/knockout-pre-rendered-tests.ts
2015-05-14 11:02:31 +02:00

15 lines
889 B
TypeScript

/// <reference path="knockout-pre-rendered.d.ts" />
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) => { }
};
}