yarn alpinejs 1.9.4
v1.9.4

latest releases: 3.9.3, 3.9.2, 3.9.1...
4 years ago

Added

  • $dispatch magic function for dispatching new CustomEvents easily:
<div x-data="{ foo: 'bar' }" x-on:custom-event="foo = $event.detail.newValue">
    <span x-text="foo"></span>

    <button x-on:click="$dispatch('custom-event', {newValue: 'baz'})">Turn 'bar' to 'baz'</button>
</div>

Fixed

  • Fix some bug that was happening with chrome extensions (#91)
  • Set value of undefined nested object keys (#93)
  • Fix empty for loop bug (#104)

Don't miss a new alpinejs release

NewReleases is sending notifications on new releases.