All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated all dependencies & build process.
setup
anddestroy
methods.onEnable
andonDisable
callback options &toggle-enabled
andtoggle-disabled
events.
- Switch to XO for linting, and update code style accordingly.
- Correctly handle control buttons containing child elements
trapFocus
option to prevent the user from tabbing out of the content panel while it is opencloseOnClickOutside
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
- 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
- Prevent the class from overwriting the default options when initialized
- Replaced "frame-throttle" with "raf-throttle" library
- Updated dependencies
- Bound
this
to resize handler function
- Missing dependency in package.json
- Fix window resize handling
- Use frame-throttle for more performant resize throttling
- Bump version number to 1.0
- First public release