Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { LightningElement } from 'lwc';
export default class LinkToAnotherCmp extends LightningElement {
let txtInput = this.template.querySelector(".txtInput");
const v = txtInput.value;
const textChangeEvent = new CustomEvent('txtChange',{
detail : {v},
//Fire Event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.