app.directive("keyboardGridAccess", function ($timeout) {
return{
restrict: 'A',
link: function (scope, element) {
element.on("keydown", function (event) {
$timeout(function () {
if (event.which === 9) {
$('.eft-body-col').first().find('span').attr('tabindex', 1).focus();
}
}, 0);
});
}
};
});
专注于class'.left-body-col'仅在我点击滚动条时显示。我需要做些什么才能专注于点击标签?