File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -537,9 +537,16 @@ declare module ng {
537
537
directive ( directivesMap : any ) : ICompileProvider ;
538
538
}
539
539
540
- interface ITemplateLinkingFunction {
540
+ interface ICloneAttachFunction {
541
541
// Let's hint but not force cloneAttachFn's signature
542
- ( scope : IScope , cloneAttachFn ?: ( clonedElement ?: JQuery , scope ?: IScope ) => any ) : JQuery ;
542
+ ( clonedElement ?: JQuery , scope ?: IScope ) : any ;
543
+ }
544
+
545
+ interface ITemplateLinkingFunction {
546
+ // If the scope is provided, then the cloneAttachFn must be as well.
547
+ ( scope : IScope , cloneAttachFn : ICloneAttachFunction ) : JQuery ;
548
+ // If one argument is provided, then it's assumed to be the cloneAttachFn.
549
+ ( cloneAttachFn ?: ICloneAttachFunction ) : JQuery ;
543
550
}
544
551
545
552
///////////////////////////////////////////////////////////////////////////
@@ -827,4 +834,4 @@ declare module ng {
827
834
}
828
835
829
836
}
830
- }
837
+ }
Original file line number Diff line number Diff line change @@ -185,6 +185,8 @@ declare module JQueryUI {
185
185
title ?: string ;
186
186
width ?: any ; // number or string
187
187
zIndex ?: number ;
188
+
189
+ close ?: DialogEvent ;
188
190
}
189
191
190
192
interface DialogUIParams {
@@ -561,9 +563,15 @@ declare module JQueryUI {
561
563
heightStyle ?: string ;
562
564
hide ?: any ; // boolean, number, string or object
563
565
show ?: any ; // boolean, number, string or object
566
+
567
+ activate ?: TabsEvent ;
564
568
}
565
569
566
570
interface TabsUIParams {
571
+ newTab : JQuery ;
572
+ oldTab : JQuery ;
573
+ newPanel : JQuery ;
574
+ oldPanel : JQuery ;
567
575
}
568
576
569
577
interface TabsEvent {
You can’t perform that action at this time.
0 commit comments