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

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.

主站蜘蛛池模板: 平谷区| 威信县| 浙江省| 梁平县| 河北区| 平邑县| 凤庆县| 富源县| 阿克| 高邑县| 桐梓县| 闻喜县| 阜宁县| 兴化市| 嘉祥县| 怀仁县| 鱼台县| 兴和县| 芜湖县| 海淀区| 巫溪县| 突泉县| 赤壁市| 九江市| 藁城市| 开化县| 会宁县| 海门市| 广灵县| 鸡东县| 天峨县| 大渡口区| 隆尧县| 弥渡县| 永泰县| 高青县| 扎囊县| 三都| 富平县| 达州市| 阳信县|