QuestionQ60

VerifiedBasic Lightning Web Component Development

A developer created a component containing a lightning-combobox in the markup below. To handle changes to the combobox, what should replace <CHANGE_EVENT>?

Question Image

Explanation

Lightning Web Components declaratively bind a base-component event handler using the oneventname attribute and a method reference in braces. For a change event, the binding is onchange={handleChange}; the framework invokes handleChange and supplies the event object when the value changes. Handle Events on Base Components

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!