A

Admin • 833.24K Points
Coach

Q. What is 'wire:click' used for?

  • (A) Handles CSS click styles
  • (B) Triggers a public method in the component
  • (C) Binds a value to the component
  • (D) Calls a JavaScript function

Explanation by: Admin

wire:click is used to call public methods in the Livewire component class when clicked.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.