Câu 39: Certified Platform Developer
An Apex method, getAccounts, that returns a list of Accounts given a searchTerm, is available for Lightning Web Components to use. What is the correct definition of a Lightning Web Component property that uses the getAccounts method?
Nội dung câu hỏi
An Apex method, getAccounts, that returns a list of Accounts given a searchTerm, is available for Lightning Web Components to use. What is the correct definition of a Lightning Web Component property that uses the getAccounts method?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. @wire (getAccounts, { searchTerm: ‘$searchTerm’} )accountList; — đáp án hiện tại
- B. @wire (getAccounts, ‘searchTerm’)accountList;
- C. @AuraEnabled(getAccounts, { searchTerm: ‘$searchTerm’} )accountList;
- D. @AuraEnabled(getAccounts, ‘$searchTerm’)accountList
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.