Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2353

It should be possible to unregister DOM event listeners

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      If a component registers a listener on the document, this listener might prevent JavaScript objects like closures or DOM element being cleaned up.
      ElementWrapper.on should return an Object (EventHandler ?) that can be used to unregister the respective listener.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              jkemnade Jochen Kemnade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: