My_Test_Repo/force-app/main/default/lwc/hello/hello.js

5 lines
125 B
JavaScript

import { LightningElement,api } from 'lwc';
export default class Hello extends LightningElement {
@api name = 'World';
}