Merge pull request #2999 from SergioMorchon/patch-2

Preprocess option to Knockout binding's syntax
This commit is contained in:
Masahiro Wakame
2014-10-21 11:32:56 +09:00

View File

@@ -134,6 +134,7 @@ interface KnockoutBindingHandler {
init? (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext): void;
update? (element: any, valueAccessor: () => any, allBindingsAccessor: KnockoutAllBindingsAccessor, viewModel: any, bindingContext: KnockoutBindingContext): void;
options?: any;
preprocess?: (value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string;
}
interface KnockoutBindingHandlers {