Philip Da Silva

Results 6 issues of Philip Da Silva

- Direct assignment `(event)="data = $event"` - `(event)` syntax evaluates an expression on every event emission, what is done with `$event` is up to the developer Q: What is the...

ready
mvp3

- Angular DOM event bindings use native DOM event names without the `on` prefix. - i.e. `onclick` == `(click)` Q: What would the Angular binding for `onmouseenter` be? A: `(mouseenter)`...

ready
mvp3

- DOM event i.e. `(click)` adds an `eventListener` to the component - DOM event's `$event` represents the native DOM event object - Custom event must be a `@Output` `EventEmitter` declared...

ready
mvp3

- Variable in square brackets is the child's - Variables in the quotations is the parent's

ready
mvp3

1. Square brackets evaluate an expression 2. No brackets is a string literal

ready
mvp3