github alpinejs/alpine v2.1.1
on GitHub

Added

  • The ability to reference just the method reference in an event handler:
    html // 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
5 months ago