Bug or error in docs regarding widget events? #5271

agcolom opened this Issue Nov 12, 2012 · 1 comment


None yet
2 participants

agcolom commented Nov 12, 2012

There seems to be an inconsistency in the docs in the way users should attach an event handler to an event triggered by a widget. In all form elements and listviews, the docs say to attach it using the widget name:

 $( ".selector" ).collapsible({
    create: function(event, ui) { ... }

in popups and dialogs, this is documented with the use of bind (or on)

 $( ".selector" ).bind({
    popupbeforeposition: function(event, ui) { ... }

which is correct? are both supported?
The test case http://jsbin.com/uzaret/478/edit seems to indicate that the use of the widget name does not always work (does not work in this case)


This comment has been minimized.

Show comment
Hide comment

jaspermdegroot Dec 16, 2012


Added milestone 1.4 and label "widget review" .


jaspermdegroot commented Dec 16, 2012

Added milestone 1.4 and label "widget review" .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment