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.
25 lines
531 B
25 lines
531 B
9 years ago
|
/** */
|
||
|
Ext.define('Ext.aria.view.BoundListKeyNav', {
|
||
|
override: 'Ext.view.BoundListKeyNav',
|
||
|
|
||
|
requires: [
|
||
|
'Ext.aria.view.View'
|
||
|
],
|
||
|
|
||
|
focusItem: function(item) {
|
||
|
var me = this,
|
||
|
boundList = me.view;
|
||
|
|
||
|
if (typeof item === 'number') {
|
||
|
item = boundList.all.item(item);
|
||
|
}
|
||
|
|
||
|
if (item) {
|
||
|
boundList.ariaUpdate({
|
||
|
'aria-activedescendant': Ext.id(item, me.id + '-')
|
||
|
});
|
||
|
me.callParent([item]);
|
||
|
}
|
||
|
}
|
||
|
});
|