facebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskype
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.
29 lines
606 B
29 lines
606 B
/** */ |
|
Ext.define('Ext.aria.form.field.Picker', { |
|
override: 'Ext.form.field.Picker', |
|
|
|
ariaGetRenderAttributes: function() { |
|
var me = this, |
|
attrs; |
|
|
|
attrs = me.callParent(); |
|
|
|
attrs['aria-haspopup'] = true; |
|
|
|
return attrs; |
|
}, |
|
|
|
ariaGetAfterRenderAttributes: function() { |
|
var me = this, |
|
attrs, picker; |
|
|
|
attrs = me.callParent(); |
|
picker = me.getPicker(); |
|
|
|
if (picker) { |
|
attrs['aria-owns'] = picker.id; |
|
} |
|
|
|
return attrs; |
|
} |
|
});
|
|
|