Preprocess option to Knockout binding's syntax

From the oficial documentation: http://knockoutjs.com/documentation/binding-preprocessing.html
This commit is contained in:
Sergio
2014-10-20 14:58:22 +02:00
parent 4dd796bb15
commit 3339edcc3d
+1
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 {