Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

for:each in lwc js

import { LightningElement, wire } from 'lwc';
import getAccountList from '@salesforce/apex/AccountHelper.getAccountList';
export default class AccountListForEachLWC extends LightningElement {
    @wire(getAccountList) accounts;
}
Source by www.sfdcpoint.com #
 
PREVIOUS NEXT
Tagged: #lwc #js
ADD COMMENT
Topic
Name
9+7 =