-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add enter and exit animation to MdSnackBar.
- Loading branch information
1 parent
5f3a35f
commit 37cead1
Showing
8 changed files
with
157 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export class AnimationCurves { | ||
static get standardCurve(): string { return 'cubic-bezier(0.4,0.0,0.2,1)'; } | ||
static get decelerationCurve(): string { return 'cubic-bezier(0.0,0.0,0.2,1)'; } | ||
static get accelerationCurve(): string { return 'cubic-bezier(0.4,0.0,1,1)'; } | ||
static get sharpCurve(): string { return 'cubic-bezier(0.4,0.0,0.6,1)'; } | ||
}; | ||
|
||
|
||
export class AnimationDurations { | ||
static get complex(): string { return '375ms'; } | ||
static get entering(): string { return '225ms'; } | ||
static get exiting(): string { return '195ms'; } | ||
}; |
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
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 |
---|---|---|
|
@@ -30,4 +30,4 @@ | |
"skipTemplateCodegen": true, | ||
"debug": true | ||
} | ||
} | ||
} |