Put in order · Angular course · Module 2: Components
Implementing a Hook Interface
Arrange the single-line tokens of a class declaration implementing the OnInit hook:
Items to put in order
- DojoComponent
- implements
- export class
- OnInit {
Show the answer
Correct order:
- export class
- DojoComponent
- implements
- OnInit {