nerdexam
Salesforce

CRT-450 · Question #200

Which two characteristics are true for Lightning Web Component custom events? Choose 2 answers

The correct answer is B. By default a custom event only propagates to its immediate container and to its immediate child D. Data may be passed in the payload of a custom event using a property called detail. See the full explanation below for the reasoning.

Question

Which two characteristics are true for Lightning Web Component custom events? Choose 2 answers

Options

  • AData may be passed In the payload of a custom event using a wire decorated properties.
  • BBy default a custom event only propagates to its immediate container and to its immediate child
  • CBy default a custom event only propagates to it's immediate container.
  • DData may be passed in the payload of a custom event using a property called detail.

How the community answered

(33 responses)
  • A
    12% (4)
  • B
    70% (23)
  • C
    18% (6)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice