Updated IDialogOptions and created IMenuService

This commit is contained in:
Nora Simonow
2016-02-01 14:33:56 +01:00
parent 5d6764dea5
commit 2d0a1b1502

View File

@@ -63,7 +63,10 @@ declare module angular.material {
interface IDialogOptions {
templateUrl?: string;
template?: string;
autoWrap?: boolean; // default: true
targetEvent?: MouseEvent;
openFrom?: any;
closeTo?: any;
scope?: angular.IScope; // default: new child scope
preserveScope?: boolean; // default: false
disableParentScroll?: boolean; // default: true
@@ -77,8 +80,10 @@ declare module angular.material {
resolve?: {[index: string]: angular.IPromise<any>}
controllerAs?: string;
parent?: string|Element|JQuery; // default: root node
fullscreen?: boolean;
onShowing?: Function;
onComplete?: Function;
onRemoving?: Function;
fullscreen?: boolean;
}
interface IDialogService {
@@ -224,7 +229,7 @@ declare module angular.material {
setDefaultTheme(theme: string): void;
alwaysWatchTheme(alwaysWatch: boolean): void;
}
interface IDateLocaleProvider {
months: string[];
shortMonths: string[];
@@ -239,4 +244,8 @@ declare module angular.material {
msgCalendar: string;
msgOpenCalendar: string;
}
interface IMenuService {
hide(response?: any, options?: any): angular.IPromise<any>;
}
}