|
1 | 1 | export class AnimationCurves { |
2 | | - static get standardCurve(): string { return 'cubic-bezier(0.4,0.0,0.2,1)'; } |
3 | | - static get decelerationCurve(): string { return 'cubic-bezier(0.0,0.0,0.2,1)'; } |
4 | | - static get accelerationCurve(): string { return 'cubic-bezier(0.4,0.0,1,1)'; } |
5 | | - static get sharpCurve(): string { return 'cubic-bezier(0.4,0.0,0.6,1)'; } |
| 2 | + static STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)'; |
| 3 | + static DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)'; |
| 4 | + static ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)'; |
| 5 | + static SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)'; |
6 | 6 | }; |
7 | 7 |
|
8 | 8 |
|
9 | 9 | export class AnimationDurations { |
10 | | - static get complex(): string { return '375ms'; } |
11 | | - static get entering(): string { return '225ms'; } |
12 | | - static get exiting(): string { return '195ms'; } |
| 10 | + static COMPLEX = '375ms'; |
| 11 | + static ENTERING = '225ms'; |
| 12 | + static EXITING = '195ms'; |
13 | 13 | }; |
0 commit comments