事件:'module.import.asyncStart'


¥Event: 'module.import.asyncStart'

  • event <Object> 包含以下属性

    ¥event <Object> containing the following properties

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

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

    • parentURL 尝试导入的模块的 URL 对象 (id)。

      ¥parentURL URL object of the module that attempted to import(id).

import() 调用时触发。参见 asyncStart 事件

¥Emitted when import() is invoked. See asyncStart event.