mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #11450 from ErinCoughlan/patch-3
Update MdPanel in angular-material.d.ts file
This commit is contained in:
+8
-2
@@ -355,6 +355,9 @@ declare namespace angular.material {
|
||||
removeClass(oldClass: string): void;
|
||||
toggleClass(toggleClass: string): void;
|
||||
updatePosition(position: IPanelPosition): void;
|
||||
registerInterceptor(type: string, callback: () => angular.IPromise<any>): IPanelRef;
|
||||
removeInterceptor(type: string, callback: () => angular.IPromise<any>): IPanelRef;
|
||||
removeAllInterceptors(type?: string): IPanelRef;
|
||||
}
|
||||
|
||||
interface IPanelPosition {
|
||||
@@ -370,8 +373,8 @@ declare namespace angular.material {
|
||||
centerVertically(): IPanelPosition;
|
||||
center(): IPanelPosition;
|
||||
addPanelPosition(xPosition: string, yPosition: string): IPanelPosition;
|
||||
withOffsetX(offsetX: string): IPanelPosition;
|
||||
withOffsetY(offsetY: string): IPanelPosition;
|
||||
withOffsetX(offsetX: string|((panel: IPanelPosition) => string)): IPanelPosition;
|
||||
withOffsetY(offsetY: string|((panel: IPanelPosition) => string)): IPanelPosition;
|
||||
}
|
||||
|
||||
interface IPanelAnimation {
|
||||
@@ -404,5 +407,8 @@ declare namespace angular.material {
|
||||
SCALE: string,
|
||||
FADE: string,
|
||||
};
|
||||
interceptorTypes: {
|
||||
CLOSE: string,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user