Opened 9 years ago

Closed 7 years ago

#17058 closed enhancement (patchwelcome)

add set/getPosition to dom-geometry

Reported by: Radim Kolář Owned by: Eugene Lazutkin
Priority: undecided Milestone: 1.13
Component: HTML Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:



  1. make position API consistent with other function names in dom-geometry. They use getSomething.
  2. add new api for setting DOM element position

getPosition - renamed from position setPosition - new api for moving objects around. is there such API already in different module?

Change History (3)

comment:1 Changed 9 years ago by bill

Component: CoreHTML
Owner: set to Eugene Lazutkin

comment:2 Changed 9 years ago by Radim Kolář

jquery is using position() for relative position and offset() for absolute position. It might be good to implement this with get/set methods.

comment:3 Changed 7 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 2+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.