render_async v2.1.4 Release Notes

Release Date: 2019-11-11 // about 2 years ago
  • 🚀 This release solves #94 and allows you to unbind an event when using toggle functionality of the gem.

    You can unbind an event by passing once: true argument to render_async toggle option:

    \<%= render\_async comments\_path, toggle: { selector: '#detail-button', event: :click, once: true } do %\>\<a href='#' id='detail-button'\>Detail\</a\>\<% end %\>