Buttons 2.1.0

DataTables CDN files for Buttons 2.1.0. This software was originally released on 3rd December, 2021.

Release notes

This release of buttons introduces a new spacer button type to provide visual grouping between groups of buttons in the same container. There also a new button().index() method to get a button's index and button().add() has an optional draw parameter which can improve performance for large numbers of new buttons.

  • New: spacer type which can provide visual grouping between buttons
  • New: When executing a button setup as a function, call it with the context of the Buttons instance
  • New: Ability to use the Buttons' instance as a selector
  • New: button().index() method for determining a button's index from a node
  • New: Add optional draw parameter to button().add() allowing for performance improvements when adding large numbers of buttons.
  • New: Support for exponenttial formatted number strings on Excel export

  • Fix: Improve split buttons styling to be more inline with the non-split buttons

  • Fix: Fix issues with buttons not getting the correct radius in a group
  • fix: Fix bulma and split buttons styling issues
  • Fix: Workaround for no wrapping of buttons in senamic UI: https://github.com/Semantic-Org/Semantic-UI/issues/7069
  • Fix: With a span inside the button, we should change the text of only the first one
  • Fix: cross reference of buttons.buttons.split
  • Fix: When selecting a button that doesn't exist, don't throw an error
  • Fix: Styling fixes for split buttons
  • Fix: Collection position was being incorrectly set if an existing collection was already on screen and background was set to false
  • Fix: When clicking on a button it should blur the focus. However, when using the keyboard to navigate, triggering an action by pressing return should not blur focus.