Skip to content

v3.2.0 - Add attributes for dragged position inside and outside the container

Compare
Choose a tag to compare
@jalal246 jalal246 released this 05 Mar 22:30
· 217 commits to main since this release

Use axes point to deal with current offset (top/left) (#403)

Add both axes to transformers in the Core (#404)

  • Update seTranslate, setPosition and rollBack in the Core and all related classe to include both axes.
  • Add more types to the utils. As part of shared types/functions to include Axes and EffectedElemDirection.
  • Remove legacy current position updaters and use setAxes instead.
  • Replace TempOffset with AxesCoordinates

Add attributes to dragged for out container and position (#405)

  • Add new attributes to dragged to include "dragged" | "out-position" | "out-container"
  • Add setAttribute, removeAttribute, and clearAttributes to abstract core.
  • Use the centralized transform method in the abstract core.
  • Refactor mouse direction flags to include both axes.

Refactor Dragged instance and migrate playground to TS (#406)

  • Refactor dragged to use AxesCoordinates
  • Migrate dragged playground to TS

Refactor attributes and dataset in the Core (#407)