mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
Merge commit 'upstream/master~460' into types-2.0
This commit is contained in:
Vendored
+10
-4
@@ -76,7 +76,7 @@ declare module 'angular' {
|
||||
}
|
||||
|
||||
interface IColorService {
|
||||
applyThemeColors(element: Element|JQuery, colorExpression: IColorExpression): void;
|
||||
applyThemeColors(element: Element | JQuery, colorExpression: IColorExpression): void;
|
||||
getThemeColor(expression: string): string;
|
||||
hasTheme(): boolean;
|
||||
}
|
||||
@@ -224,7 +224,7 @@ declare module 'angular' {
|
||||
hues: IThemeHues;
|
||||
}
|
||||
|
||||
interface IBrowserColors{
|
||||
interface IBrowserColors {
|
||||
theme: string;
|
||||
palette: string;
|
||||
hue: string;
|
||||
@@ -354,6 +354,9 @@ declare module 'angular' {
|
||||
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 {
|
||||
@@ -369,8 +372,8 @@ declare module 'angular' {
|
||||
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 {
|
||||
@@ -403,6 +406,9 @@ declare module 'angular' {
|
||||
SCALE: string,
|
||||
FADE: string,
|
||||
};
|
||||
interceptorTypes: {
|
||||
CLOSE: string,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user