forked from NG-ZORRO/ng-zorro-antd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(module:modal): refactor modal component (NG-ZORRO#2869)
* refactor(module:modal): refactor block scroll strategy close NG-ZORRO#2612 * docs(module:modal): update docs * test(module:modal): update cases for scrollbar * refactor(module:modal): use OnPush change detection close NG-ZORRO#2643, close NG-ZORRO#2656 * fix(module:modal, drawer): IE/Edge SVG doesn't support `blur`/`focus` method close NG-ZORRO#2388 * fix(module:modal): fix animations * refactor(module:modal): switch to Default change detection * docs: add temporary use case for IE * fix: scrollblock style
- Loading branch information
Showing
8 changed files
with
87 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// tslint:disable-next-line:no-any | ||
export function isPromise(obj: any): obj is Promise<any> { | ||
return !!obj && typeof obj.then === 'function' && typeof obj.catch === 'function'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.