然后,在插件中定义的选项和函数将可被组件本身所用。
The options and functions defined in the plug-in will then become available to the component itself.
我创建了一些在插件内部调用的函数,以便插件外部的人无法调用它们。
I made the functions I call internally in the plug-in private, so that no one outside of the plug-in can call them.
将该函数传递到插件上下文、数据模型和视图的ID。
This is passed to the context of the plug-in, the data model, and the ID of the view.
应用推荐