mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fix Tests for angular-dialog-service
This commit is contained in:
parent
c91de3cf9a
commit
0078ccfafc
@ -13,4 +13,4 @@ var dialogs : angular.dialogservice.IDialogService;
|
||||
dialogs.error('Error','An unknown error occurred preventing the completion of the requested action.');
|
||||
dialogs.wait('Creating User','Please wait while we attempt to create user "Michael Conroy."<br><br>This should only take a moment.',50);
|
||||
dialogs.notify('Something Happened','Something happened at this point in the application that I wish to let you know about');
|
||||
dialogs.create('url/to/a/template','ctrlrToUse',{data: topass,anotherVar: 'value'},{});
|
||||
dialogs.create('url/to/a/template','ctrlrToUse',{},{});
|
||||
|
||||
@ -60,23 +60,23 @@ declare module angular.dialogservice {
|
||||
/**
|
||||
* Opens a new error modal instance.
|
||||
*/
|
||||
error(header: string, msg: string, progress: number, opts: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
error(header: string, msg: string, opts?: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
/**
|
||||
* Opens a new wait modal instance.
|
||||
*/
|
||||
wait(header: string, msg: string, opts: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
wait(header: string, msg: string, progress: number, opts?: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
/**
|
||||
* Opens a new notify modal instance.
|
||||
*/
|
||||
notify(header: string, msg: string, opts: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
notify(header: string, msg: string, opts?: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
/**
|
||||
* Opens a new confirm modal instance.
|
||||
*/
|
||||
confirm(header: string, msg: string, opts: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
confirm(header: string, msg: string, opts?: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
/**
|
||||
* Opens a new custom modal instance.
|
||||
*/
|
||||
create(url: string, ctrlr: string, data: any, opts: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
create(url: string, ctrlr: string, data: any, opts?: IDialogOptions): ng.ui.bootstrap.IModalServiceInstance
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user