|
1 | | -# angular-2-interview-questions |
2 | | -Angular 2 Interview Questions... And Answers! |
| 1 | +# Angular 2 Interview Questions... And Answers! |
| 2 | + |
| 3 | +This is a collection of Angular 2 interview questions I've found online, along with possible reasonable answers for most of them. Feel free to contribute / send corrections. |
| 4 | + |
| 5 | +Note: PA == Possible Answer (one of many valid ones), A == Answer. |
| 6 | + |
| 7 | +## Animations Questions |
| 8 | + |
| 9 | +** How do you define transition between two states? ** |
| 10 | +PA: Using the transition and animate function in an animations block like so: `animations: [transition('inactive => active'), animate('100 ms ease-in')]` |
| 11 | + |
| 12 | +** How do you define a wildcare state? ** |
| 13 | + |
| 14 | +A: Using the asterisk - example: `transition('* => active'), animate('100ms ease-in'))` |
| 15 | + |
| 16 | + |
0 commit comments