1234567891011121314151617181920212223242526272829303132333435 |
- Ext.define('Ext.theme.triton.menu.Item', {
- override: 'Ext.menu.Item',
-
- compatibility: Ext.isIE8,
-
- onFocus: function(e) {
- this.callParent([e]);
- this.repaintIcons();
- },
-
- onFocusLeave: function(e) {
- this.callParent([e]);
- this.repaintIcons();
- },
-
- privates: {
- repaintIcons: function() {
- var iconEl = this.iconEl,
- arrowEl = this.arrowEl,
- checkEl = this.checkEl;
-
- if (iconEl) {
- iconEl.syncRepaint();
- }
-
- if (arrowEl) {
- arrowEl.syncRepaint();
- }
-
- if (checkEl) {
- checkEl.syncRepaint();
- }
- }
- }
- });
|