@Output() eventName = new EventEmitter<eventType>();

      Typescript language logo
      your recipe card header background
      Angular Output Event

      Angular TypeScript Recipes

      The code above creates an instance of the EventEmitter class, and assigns the name eventName to it. This will be used to handle the events that are triggered by the code inside the brackets.

      Shortcut: angular.output.event

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.