Opened 11 years ago
Closed 10 years ago
#8284 closed feature (invalid)
slidecreate event - ui.value is undefined
Reported by: | enumag | Owned by: | enumag |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.slider | Version: | 1.8.20 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The initial value is already set by .slider( ... value: 10 }, then why is it not available in slidecreate event handler?
Change History (5)
comment:2 Changed 10 years ago by
Milestone: | 1.9.0 → 1.11.0 |
---|
comment:3 Changed 10 years ago by
Status: | new → open |
---|
Verified that this is still an issue in 1.9 - http://jsfiddle.net/tj_vantoll/A6xf4/. It does seem like the value would be useful to have in a create method.
comment:4 Changed 10 years ago by
Owner: | set to enumag |
---|---|
Status: | open → pending |
Actually, I'd like to know what the use case is, since the value can be queried pretty easily.
comment:5 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
This is not a bug. Widgets weren't designed to provide any data in create, because everything is already available via the options. However, we have started adding data in cases where it would make reusing event handler easier. In this case, a stop or change handler could be doubled up on create.