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

What is an extension?

An Ext JS extension is a derived class or a subclass of an existing Ext JS class, which is designed to allow the inclusion of additional features. An Ext JS extension is mostly used to add custom functionalities or modify the behavior of an existing Ext JS class. An Ext JS extension can be as basic as the preconfigured Ext JS classes, which basically supply a set of default values to an existing class configuration. This type of extension is really helpful in situations where the required functionality is repeated at several places. Let us assume we have an application where several Ext JS windows have the same help button at the bottom bar. So we can create an extension of the Ext JS window, where we can add this help button and can use this extension window without providing the repeated code for the button. The advantage is that we can easily maintain the code for the help button in one place and can get the change in all places.

主站蜘蛛池模板: 太湖县| 丹棱县| 新竹市| 武山县| 比如县| 永昌县| 临洮县| 建始县| 长顺县| 梧州市| 内江市| 垫江县| 夹江县| 东至县| 通辽市| 嘉黎县| 如东县| 西乌| 呈贡县| 普兰店市| 山丹县| 潢川县| 旬阳县| 沁阳市| 乌海市| 凤凰县| 扎鲁特旗| 仙桃市| 镇沅| 惠州市| 望都县| 长沙市| 商南县| 临江市| 蓝山县| 宜良县| 开化县| 沈丘县| 山东| 石门县| 昂仁县|