CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

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.

  1. A. @wire (getAccounts, { searchTerm: ‘$searchTerm’} )accountList; — đáp án hiện tại
  2. B. @wire (getAccounts, ‘searchTerm’)accountList;
  3. C. @AuraEnabled(getAccounts, { searchTerm: ‘$searchTerm’} )accountList;
  4. 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.

Câu hỏi liền kề