diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dd5a29..c89bd50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ Changes made so far over v1.1.0. - Implemented drag-delay if the user clicks on the collapse handle then starts dragging. Drag will not begin until mouse has moved past 5 pixels in either direction. (UX improvement) - Prevent click event if the user started and ended their drag on the collapse handle. (UX improvement) - Change splitter bar class from .splitter to .splitter_bar for consistency. +- Fixed issue where collapse handle would ignore one click if manually dragged to the collapsed position. (UX improvement/bug) +- Modified onDrag, onDragStart, onDragEnd events to pass splitter container for easy manipulation. ## Release v1.1.0 diff --git a/demo.html b/demo.html index 0c5b6b9..fe6072d 100644 --- a/demo.html +++ b/demo.html @@ -473,23 +473,29 @@
function (event, splitter_container) { ... }
Default: $.noop
Event handler called when a user starts dragging a splitter.
+Parameters passed are the standard event handler data, and the .splitter_container object.
function (event, splitter_container) { ... }
Default: $.noop
Event handler called when a user stops dragging a splitter.
+Parameters passed are the standard event handler data, and the .splitter_container object.
function (event, splitter_container) { ... }
Default: $.noop
Event handler called after a user moves a splitter.
+Parameters passed are the standard event handler data, and the .splitter_container object.