whatsappicloudtweetdeckhipchattelegramhangoutsslackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinbox
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.
24 lines
531 B
24 lines
531 B
/** */ |
|
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]); |
|
} |
|
} |
|
});
|
|
|