The child component uses the @Output() property to raise an event to notify the parent of the change. To raise an event, an @Output() must have the type of EventEmitter, which is a class in @angular/core that you use to emit custom events.
Subscribe to:
Post Comments (Atom)
How to build an Express and Node.js app with Typescript
In this tutorial, you will learn how to set up a Node.js and Express project with Typescript and live auto-reloading. Note that this metho...
-
Boolean values are supported by both JavaScript and TypeScript and stored as true/false values. TypeScript Boolean: let isOn:boolean = t...
-
You can generate Splash Screens and Icons for your iOS, Android or Progressive Web Application using the @capacitor/assets tool. Step 1:...
-
TypeScript Data Type - Enum Enums or enumerations are a new data type supported in TypeScript. Most object-oriented languages like Java an...
No comments:
Post a Comment