A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

Get a reference to eventBus from MobileFrontend

Ciencia-Al-Poder

Basically, I want to attach to the scroll:throttled event, that’s used by several MF scripts, but all of them get a reference to an “evenBus” object that comes from its constructor, but I have no idea how to get a reference to it from MediaWiki:Mobile.js

Is there documentation somewhere, or someone can guide me how to get a reference to use evenBus?