inDepth.dev
  • Our Manifesto
Subscribe
Tagged

events

A collection of 2 posts

How to cancel a component event from output properties in Angular
angular

How to cancel a component event from output properties in Angular

Sometimes a component needs to raise an event to the parent component to notify them of action e.g., click. In this post, we will examine how a parent component can cancel or prevent a default action from taking place.

  • Chaz Gatian
Chaz Gatian May 14, 2020 • 4 min read
Optimizing Events handling in Angular
angular

Optimizing Events handling in Angular

Let's explore how to implement our own Event Manager Plugin to optimize event handling. Then I'll show how to use it to automatically prevent default action and event propagation.

  • Alex Inkin
Alex Inkin Jul 30, 2019 • 8 min read
inDepth.dev © 2023
Powered by Ghost