js elementMove



DOC


SAMPLE


data-move-type="transform"

1
2

data-move-type="position"

1
2asdasd

--move-y:125px !important, --move-x:125px !important

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation="none"

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation=""

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation="in"

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation="center"

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation="out"

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation="100"

1
2

.element-move-isolation with data-move-type="position" with data-move-isolation="-100"

1
2

.element-move-isolation with data-move-type="transform" with data-move-isolation="center"

1
2

ElementMove.isolate(in|center|out|none|number,target)


ElementMove.moveTo(target,x,y)


lementMove.hitTest(), ElementMove.moveToElement(), ElementMove.resetMove(), event onpointerup

1
2
HERE 1
HERE 2

pointer-events: none with PointerEvent empointerup (not workig hover in android chrome)

1
2
HERE 1
HERE 2

.element-move-isolation with multiple .element-move-area



.element-move-area with multiple .element-move-isolation with multiple


onpointerup="ElementMove.isolate()"

1