- Support Angular 16
- ngResizable: Fix issue #164: Resize doesn't work on Windows10 IE11 (PR #171 by shumih, PR #174 by LiorSaadon)
- ngDraggable: Add CSS class
ng-dragging
when dragging. - ngResizable: Add
direction
property inIResizeEvent
.
- ngResizable: Fix issue #157: Problem resizing with containment
- ngResizable: Fix issue #157: calling resetSize() method cause exception
- ngDraggable:
- Fix draggable position bouncing when draggable is scaled and position is set (by agnitos) - PR #150
- Fix translate in draggable.directive (by Volker505) - PR #151
- Fix issue with dragging window inside iframe for IE (by fdabrowski) - PR #154
- Fix Element move when resizing using the NW and NE handles and aspect ratio is enabled (by dioseltorre) - PR #156
- ngDraggable: Fixed ngDraggable toggle bug. (by agnitos) - PR #145
- ngDraggable: Fixed flickering of the component on initial drag while scale is applied to the parent. (by rathodsanjay - PR #134)
- ngDraggable: add [lockAxis] input to restrict dragging to a specific axis by locking another one.
- ngDraggable:
- fix issue #112: Control change detection with HostListener events. Performance updated.
- fix issue #128: Multiple phone draggables at the same time.
- ngResizable:
- fix issue #132: Aspect ratio feature exits Y-Axis boundary on resize.
- Performance updated.
- ngDraggable: #31 Problems when scale transform applied to parent. (by rathodsanjay - PR #123)
- ngResizable: #116 ngResizable Locks Height When rzHandles Includes Only e, w. (Thanks to Yamazaki93)
- ngResizable: rzResizing IE event issue. #115
- ngDraggable: EndOffset event not working properly with SnapToGrid. #114
- Fix a build issue
- ngResizable: Resize bounds on a draggable element inside a containment is off. #100
- ngDraggable: Item is produced with div partially out of bounds. #97
- ngResizable: Provide
[rzGrid]
. Snaps the resizing element to a grid. - ngResizable: Provide
[rzMinWidth]
,[rzMaxWidth]
,[rzMinHeight]
,[rzMaxHeight]
. The minimum/maximum width/height the resizable should be allowed to resize to.
- ngResizable: resizing from w, nw or n with a min/max size moves the window if it goes below/above the min/max size. #94
- Fix issue #84: iFrames, and context unrelated elements block all events, and are unusable
- ngResizable: Provide
[rzAspectRatio]
, whether the element should be constrained to a specific aspect ratio. - ngResizable: Provide
[rzContainment]
, constrains resizing to within the bounds of the specified element or region.
- ngResizable: Provide
(rzStart)
,(rzResizing)
,(rzStop)
event emitters - ngResizable: Provide
resetSize()
,getStatus()
methods
ngResizable
directive which you can use to make the element resizable.- Provide
[rzHandles]
option for which handles can be used for resizing.
- Expose boundsCheck() method.
- Handle Drag is not working in Firefox #68.
- Provide
[outOfBounds]
option. Set it to allow element get out of bounds from the direction. (PR #57 by waldo2188)
- Provide
(movingOffset)
event emitter: emit position offset when moving - Provide
(endOffset)
event emitter: emit position offset when stop moving
- Provide
[position]
option: to set initial position offset.
[preventDefaultEvent]
should not prevent events of elements outside the handle.
- Provide
resetPosition()
method to reset position.
- Use
Renderer2
of angular-core. So we don't support angular version < 4.0.
[trackPosition]
was not working as expected.
- The directive now
exportAs: 'ngDraggable'
. [preventDefaultEvent]
set default to false.
- Provide
[trackPosition]
option: whether to track the element's movement. (PR by Blackbaud-MikitaYankouski) - Provide
[scale]
option: to fix scaling issue #31 - Provide
[preventDefaultEvent]
option: whether to prevent default mouse or touch event. (default: true)
- Provide
[zIndex]
and[zIndexMoving]
to control z-index property. - Provide
[bounds]
,(edge)
and[inBounds]
to do boundary check and limit element staying in the bounds.
1.0.7 (2017-09-19)
- Fix an issue when dragging with touch.
1.0.6 (2017-08-26)
- Fix an issue: clicking before dragging leading to unexpected offset (PR #12 by bmartinson13)
1.0.5 (2017-07-24)
- Fix cross-browser compatibility issues.
1.0.4 (2017-07-05)
- Publish
UMD
bundle
1.0.3 (2017-06-13)
- Support
started
andstopped
dragging event.
1.0.2 (2017-05-05)
- It now saves and restores the
position
andz-index
properties. - It now calculates the correct
left
andtop
properties from CSS value.
1.0.1 (2017-05-05)
- Giving all draggable elements the position relative (PR: #1, thanks to tylerlindell)
- Bring moving element to the top by setting z-index (PR: #1, thanks to tylerlindell)