WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

v2.1.1

Choose a tag to compare

@calebporzio calebporzio released this 07 Mar 06:15
88ea0ea

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