Add selectExtensions to knockout

This commit is contained in:
Christian Bélisle 2013-08-07 12:03:59 -04:00
parent ea15619251
commit cb7fbc204f
2 changed files with 19 additions and 0 deletions

View File

@ -77,4 +77,12 @@ declare module 'knockout' {
///////////////////////////////////
export var bindingProvider: any;
////////////////////////////////////
//// selectExtensions.js
////////////////////////////////////
export var selectExtensions: {
readValue(element: any);
writeValue(element: any, value: any);
}
}

View File

@ -477,6 +477,17 @@ interface KnockoutStatic {
/////////////////////////////////
bindingProvider: any;
/////////////////////////////////
// selectExtensions.js
/////////////////////////////////
selectExtensions: {
readValue(element: any);
writeValue(element: any, value: any);
};
}
declare var ko: KnockoutStatic;