mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Preprocess option to Knockout binding's syntax
From the oficial documentation: http://knockoutjs.com/documentation/binding-preprocessing.html
This commit is contained in:
Vendored
+1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user