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’;
}

About the author

By Rohit

Recent Posts

Recent Comments

Archives

>