Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
663 B

/**
* Provides a handle for 9-point resizing of Elements or Components.
*/
Ext.define('Ext.resizer.Handle', {
extend: 'Ext.Component',
handleCls: '',
baseHandleCls: Ext.baseCSSPrefix + 'resizable-handle',
// Ext.resizer.Resizer.prototype.possiblePositions define the regions
// which will be passed in as a region configuration.
region: '',
ariaRole: 'presentation',
beforeRender: function() {
var me = this;
me.callParent();
me.protoEl.unselectable();
me.addCls(
me.baseHandleCls,
me.baseHandleCls + '-' + me.region,
me.handleCls
);
}
});