Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    How to listen for plugin-menu event

    Scheduled Pinned Locked Moved Windy API v4
    3 Posts 3 Posters 1.0k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gregora
      last edited by

      How to call a callback once the menu is opened or closed?

      broadcast.on('pluginOpend', () => {
      console.log('test');
      });

      doesn't work

      1 Reply Last reply Reply Quote 0
      • ivoI Offline
        ivo Windy Staff
        last edited by

        broadcast.on('pluginOpened', ident => {
            console.log(ident)
        })
        
        1 Reply Last reply Reply Quote 1
        • jakubvranaJ Offline
          jakubvrana | Premium
          last edited by

          Note the typo pluginOpend -> pluginOpened.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Windy Community  |  Powered by excellent NodeBB
          Terms of Use     Privacy Policy     Windy.com