官术网_书友最值得收藏!

What is a plugin?

An Ext JS plugin is a class that is used to provide additional functionalities to an existing component. Plugins must implement a method named init, which is called by the component and is passed as the parameter at the initialization time, at the beginning of the component's lifecycle. The destroy method is invoked by the owning component of the plugin, at the time of the component's destruction. We don't need to instantiate a plugin class. Plugins are inserted in to a component using the plugin's configuration option for that component.

Plugins are used not only by components to which they are attached, but also by all the subclasses derived from that component. We can also use multiple plugins in a single component, but we need to be aware that using multiple plugins in a single component should not let the plugins conflict with each other.

主站蜘蛛池模板: 霍城县| 万州区| 东港市| 石狮市| 龙川县| 张北县| 贵溪市| 遂宁市| 景洪市| 湘阴县| 河北省| 贡山| 方正县| 昌都县| 澳门| 蚌埠市| 澜沧| 化德县| 五寨县| 伊宁市| 新丰县| 曲麻莱县| 门源| 阜宁县| 泰安市| 尼勒克县| 辽宁省| 富川| 松潘县| 玛曲县| 仙游县| 二手房| 洮南市| 上犹县| 固镇县| 冀州市| 永仁县| 射洪县| 鲁山县| 黄骅市| 花垣县|