github alpinejs/alpine v1.9.4

latest releases: v3.13.10, v3.13.9, v3.13.8...
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 alpine release

NewReleases is sending notifications on new releases.