BeforeEvent is a mixin that provides methods to create hooks that run before a certain event. Usage Example: const BeforeEvent = require('core/before-event'); _.extend(MyObject, BeforeEvent); Source: core/before-event.js, line 106