Skip to content
代码片段 群组 项目
未验证 提交 0ca2ed9a 编辑于 作者: Javier Calvarro Nelson's avatar Javier Calvarro Nelson 提交者: GitHub
浏览文件

[Blazor] Custom JS initializers (#34798)

* Users can create an ES6 module with `<packageName>.lib.module.js` and declare a beforeStart and afterStarted function to integrate into the blazor start process.
* In WebAssembly beforeStart receives the BlazorWebAssemblyStartOptions object and any publish extension as part of the method arguments.
* In Server beforeStart receives the CircuitStartOptions object and can configure any necessary details.
* In Desktop beforeStart does not receive any argument for the time being.
* afterStarted receives the Blazor object as argument in all cases.
* Callbacks in beforeStart and afterStarted are not invoked in any defined order and are invoked in parallel.
上级 e1aeac80
加载中
显示
224 个添加19 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册