Labs/Jetpack/JEP/14: Difference between revisions

Jump to navigation Jump to search
→‎Example Usage: Recent Tweets example
(→‎on(selector): menuitem -> menu typo)
(→‎Example Usage: Recent Tweets example)
Line 492: Line 492:
     beforeShow: function (menu) {
     beforeShow: function (menu) {
       menu.set("Loading...");
       menu.set("Loading...");
       getRecentTweets(function done(tweets) menu.replace(0, tweets));
       getRecentTweets(function done(tweets) menu.replace("Loading...", tweets));
     }
     }
   })
   })
Confirmed users
764

edits

Navigation menu