mediawiki-extensions-Echo/modules/hooks.txt
Matthew Flaschen ecf7f1f261 Add overlay hook for user scripts.
Bug: 48502
Change-Id: I720d4fe65a6501b552dbef21cb258c027dc18867
2013-06-13 21:27:26 -04:00

8 lines
255 B
Plaintext

hooks.txt
This documents Echo's client-side hooks:
'ext.echo.overlay.beforeShowingOverlay': Before showing the Echo overlay, it is
passed to this hook, which can modify the DOM or take other actions.
$overlay: the jQuery-wrapped element for the overlay