The official documentation: http://requirejs.org/docs/api.html#pageload
A usage example from the core:
https://github.com/magento/magento2/blob/43e3fd79/app/code/Magento/AdminNotification/view/adminhtml/web/toolbar_entry.js#L8
The official documentation: http://requirejs.org/docs/api.html#pageload
A usage example from the core:
https://github.com/magento/magento2/blob/43e3fd79/app/code/Magento/AdminNotification/view/adminhtml/web/toolbar_entry.js#L8