Opened 16 years ago
Closed 15 years ago
#1625 closed enhancement (wontfix)
[patch][cla] Allow parameter in: dojo.html.getScroll(node)
Reported by: | Owned by: | sjmiles | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | HTML | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojo.html.getScroll(dojo.byId("someDiv"))
- Return the scroll offsets of the element "someDiv"
It makes most sense when the element has the style-property overflow set to
either auto or scroll.
Attachments (1)
Change History (5)
Changed 16 years ago by
Attachment: | getScroll-for-node.patch added |
---|
comment:1 Changed 16 years ago by
Milestone: | → 0.5 |
---|---|
Owner: | changed from Bryan Forbes to Tom Trenka |
Summary: | Allow parameter in: dojo.html.getScroll(node) → [patch][cla] Allow parameter in: dojo.html.getScroll(node) |
comment:2 Changed 15 years ago by
Owner: | changed from Tom Trenka to sjmiles |
---|
Re-assigning to Scott; he can make the decision of whether to incorporate this patch or not.
comment:3 Changed 15 years ago by
Type: | defect → enhancement |
---|
comment:4 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Agree with Tom about dual-purposing being bad. Also, relevance has declined in the fullness of time.
Note: See
TracTickets for help on using
tickets.
Making getScroll dual-purpose is a bad idea, but I will look at adding this in another place in dojo.html.