Help DOM, where are store EventListener ????

Discussion in 'Learning Javascript' started by Jonforum, Nov 16, 2017.

Thread Status:
Not open for further replies.
  1. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,595
    Likes Received:
    1,382
    Location:
    Canada / Québec
    First Language:
    French
    Primarily Uses:
    RMMV
    hi everybody
    Anybody know where are stored Event when we use addEventListener method ???
    example :
    PHP:
    window.addEventListener('mousedown'this.myvar.onClick );
    that's ok , but i try to find where it's stored ???
    i try check in
    PHP:
    windows.event
    windows
    .Event()
    console.dir(window.addEventListener)
    window._debugWindow
    window
    .dispatchEvent()
    // ... many other try 
    I found no way to check where currents data listener stored.
    thank for help
     
    #1
  2. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,595
    Likes Received:
    1,382
    Location:
    Canada / Québec
    First Language:
    French
    Primarily Uses:
    RMMV
    solved , after 1 hour.

    you can use getEventListeners(node)
    or in chromius debug console,
    Tabs:[element] + tabs: [event Listener]
    its allow managing the registar and debug
    qefqeg.jpg

    SOLVED: CLOSE
     
    #2
    Poryg likes this.
  3. Kes

    Kes Global Moderators Global Mod

    Messages:
    21,119
    Likes Received:
    10,722
    First Language:
    English
    Primarily Uses:
    RMVXA

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #3
Thread Status:
Not open for further replies.

Share This Page