Latest stories

How to bind data of a controller with a page?

At the page level data to be displayed are bind with in the curly braces. .HMTL file <template>       Hello, {greetings} </template> .Js file import { LightningElement } from ‘lwc’; export default class Hello extends LightningElement {       greeting = ‘World’; }

How can you use register Listener?

You can use register listener in following ways: childcomponent.js import { LightningElement, wire } from ‘lwc’; import { fireEvent, registerListener } from ‘c/pubsub’; import { CurrentPageReference } from ‘lightning/navigation’; export default class childcomponent extends LightningElement { @wire(CurrentPageReference) pageRef;   removedata(event){...

Recent Posts

Recent Comments

Archives

>