linuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacos
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.
22 lines
516 B
22 lines
516 B
/** */ |
|
Ext.define('Ext.aria.menu.CheckItem', { |
|
override: 'Ext.menu.CheckItem', |
|
|
|
ariaGetRenderAttributes: function() { |
|
var me = this, |
|
attrs; |
|
|
|
attrs = me.callParent(); |
|
|
|
attrs['aria-checked'] = me.menu ? 'mixed' : !!me.checked; |
|
|
|
return attrs; |
|
}, |
|
|
|
setChecked: function(checked, suppressEvents) { |
|
this.callParent([checked, suppressEvents]); |
|
this.ariaUpdate({ |
|
'aria-checked': checked |
|
}); |
|
} |
|
});
|
|
|