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

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.

主站蜘蛛池模板: 依兰县| 子洲县| 手游| 陆河县| 昂仁县| 五家渠市| 正蓝旗| 麻城市| 宜昌市| 辽阳县| 平遥县| 岫岩| 甘孜县| 天门市| 彰武县| 兰州市| 汶川县| 肥西县| 时尚| 灵山县| 揭西县| 岱山县| 福海县| 布拖县| 西安市| 宕昌县| 县级市| 香格里拉县| 军事| 安仁县| 明溪县| 吉木乃县| 上高县| 乌兰县| 安泽县| 上虞市| 连江县| 当阳市| 绥江县| 兴安县| 巴青县|