Skip to content

2.2.2

Choose a tag to compare

@jantinnerezo jantinnerezo released this 20 Nov 18:38
· 64 commits to master since this release

Performance updates

Added

  • Alert onConfirmed onDismissed onDenied and onProgress events should now emit to component that called the alert so it won't emit to every component in your project.
  • Ability to only emit to specified component.

Emit events to only specific component. Instead of passing the listener directly to the event, pass an array with component and listeners keys.

'onConfirmed' => [
   'component' => 'livewire-component',
   'listener' => 'confirmed'
];