What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-10-30 06:48:08
input property angular
/* @Output() - allows data to flow from the child class to the parent class - normally initialized with EventEmitter */ // Parent Component import { Component } from '@angular/core' @Component({ selector: app-component, template: ` <app-item... Add solution -
Javascript 2021-09-22 04:39:04
get id button clicked react
class Button extends React.Component { handleId = (e) => { /*Well if the elements are nested event.target won't always work since it refers to the target that triggers the event in the first place.*/ console.log(e.target.id); console... Add solution