github alpinejs/alpine v2.1.1

latest releases: v3.13.7, v3.13.6, v3.13.5...
4 years ago

Added

  • The ability to reference just the method reference in an event handler:
// Before
<div x-data={ foo(e) { console.log(e) } }>
  <button x-on:click="foo($event)">log event</button>
</div>
// After
<div x-data={ foo(e) { console.log(e) } }>
  <button x-on:click="foo">log event</button>
</div>

Fixed

  • IE 11 build was broken #241
  • Fix the way ":value"s are bound to input type checkboxes #232
  • Support ALL boolean attributes for binding #229
  • Be more explicit about x- attributes, currently xx-data was even working #234

Don't miss a new alpine release

NewReleases is sending notifications on new releases.