microsoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemail
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.
23 lines
516 B
23 lines
516 B
9 years ago
|
/** */
|
||
|
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
|
||
|
});
|
||
|
}
|
||
|
});
|