Hi, It's documented here[1], which is where you get with the links in the API TOC. It also appears there's an outdated page here[2] (note the capitalisation) that does not mention this. Scary. Can't wait until we ditch this Mephisto stuff for the 1.6.1 generated docs.
[1] http://prototypejs.org/api/event/stopObserving [2] http://prototypejs.org/api/event/stopobserving HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Aug 18, 6:27 pm, Paul Lynch <[email protected]> wrote: > I noticed in the code for stopObserving that it appears you can get > away with just specifying the element, and then (perhaps) it cancels > all observers for all events for that element. However, the > documentation surprisingly does not mention this ability, but lists > the element, event name, and event handler function as though they > were required elements. > > It would be very convenient to be able to say Event.stopObserving > (someElement), and so I'm wondering whether the documentation is > simply incomplete, or whether it was intentionally trying to > discourage people from using the method that way. > > Thanks, > --Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
