devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
18 lines (17 loc) • 721 B
JavaScript
/**
* DevExtreme (esm/__internal/grids/grid_core/keyboard_navigation/dom.js)
* Version: 23.2.6
* Build date: Wed May 01 2024
*
* Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import {
ATTRIBUTES
} from "./const";
var isDragCell = $cell => void 0 !== $cell.attr(ATTRIBUTES.dragCell);
var getCellToFocus = ($cellElements, columnIndex) => $cellElements.filter("[".concat(ATTRIBUTES.ariaColIndex, '="').concat(columnIndex + 1, '"]:not([').concat(ATTRIBUTES.dragCell, "])")).first();
export var GridCoreKeyboardNavigationDom = {
isDragCell: isDragCell,
getCellToFocus: getCellToFocus
};