UNPKG

plugin-tls

Version:

plugin-tls 是插件系统相应的工具,可快速地让任何模块具备插件机制

71 lines (33 loc) 927 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [plugin-tls](./plugin-tls.md) &gt; [IPlugin](./plugin-tls.iplugin.md) &gt; [created](./plugin-tls.iplugin.created.md) ## IPlugin.created() method 当宿主实例被创建时调用 **Signature:** ```typescript created?(host: HostInst<HOST>, ...options: FormatUseParameters<Options>): any; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> host </td><td> [HostInst](./plugin-tls.hostinst.md)<!-- -->&lt;HOST&gt; </td><td> 新建的宿主实例 </td></tr> <tr><td> options </td><td> [FormatUseParameters](./plugin-tls.formatuseparameters.md)<!-- -->&lt;Options&gt; </td><td> 注册插件时的选项 </td></tr> </tbody></table> **Returns:** any