changelogs.md


elivz/accessible-toggle

Repository  -  API  -  Source

1.3.0

Added

  • setup and destroy methods.
  • onEnable and onDisable callback options & toggle-enabled and toggle-disabled events.

Improved

  • Switch to XO for linting, and update code style accordingly.

1.2.1

Improved

  • Correctly handle control buttons containing child elements

1.2.0

Added

  • trapFocus option to prevent the user from tabbing out of the content panel while it is open
  • closeOnClickOutside option to close the panel if the user clicks on any other part of the page
  • Use data-toggle-open attribute on content element to make the panel open by default
  • A simple example page

Improved

  • Prevent elements within the content panel from receiving focus when the panel is hidden
  • Include more potentially-focusable elements when assigning focus
  • Bind event listeners to the document for better handling of edge-cases

1.1.5

December 12, 2017

Fixed

  • Prevent the class from overwriting the default options when initialized

1.1.4

November 13, 2017

Improved

  • Replaced "frame-throttle" with "raf-throttle" library

1.1.3

October 15, 2017

Improved

  • Updated dependencies

1.1.2

August 8, 2017

Fixed

  • Bound this to resize handler function

1.1.1

August 8, 2017

Fixed

  • Missing dependency in package.json

1.1.0

August 8, 2017

Fixed

  • Fix window resize handling

Improved

1.0.0

July 14, 2017
  • Bump version number to 1.0

0.5.0

June 19, 2017

Added

  • First public release