angular-training-slides
angular-training-slides copied to clipboard
Develop question to check that learner understands the difference between a DOM event and a custom event
- DOM event i.e.
(click)
adds aneventListener
to the component - DOM event's
$event
represents the native DOM event object - Custom event must be a
@Output
EventEmitter
declared in the child component - Custom event's
$event
represents the most recently emittedEventEmitter
value
10min