import { LightningElement } from 'lwc'; export default class ChlidExp extends LightningElement { handleSubstract(){ this.dispatchEvent(new CustomEvent('substract')); } handleAdd(){ this.dispatchEvent(new CustomEvent('add')); } handleMultiply(event){ const valueformultiply=event.target.value; this.dispatchEvent(new CustomEvent('multiply',{ detail:valueformultiply })) } }