Technical blog about Salesforce
@api recordId;
recordList;
@wire(getDataMethod, {recordId : '$recordId'}
async recordList(value) {
this.recordList = value;
const {data, error} = value;
if (data) {}
else if (error) {}
}
handleClick(event) {
refreshApex(this.recordList);
No comments:
Post a Comment