事件:'module.require.end'


¥Event: 'module.require.end'

  • event <Object> 包含以下属性

    ¥event <Object> containing the following properties

    • id 参数传递给 require()。模块名称。

      ¥id Argument passed to require(). Module name.

    • parentFilename 尝试 require(id) 的模块的名称。

      ¥parentFilename Name of the module that attempted to require(id).

require() 调用返回时触发。参见 end 事件

¥Emitted when a require() call returns. See end event.