@progress/kendo-angular-common
Version:
Kendo UI for Angular - Utility Package
13 lines (12 loc) • 843 B
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2020 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
;
Object.defineProperty(exports, "__esModule", { value: true });
var find_element_1 = require("./find-element");
var is_focusable_with_tab_key_1 = require("./is-focusable-with-tab-key");
exports.findFocusableChild = function (element, checkVisibility) {
if (checkVisibility === void 0) { checkVisibility = true; }
return find_element_1.findElement(element, function (node) { return is_focusable_with_tab_key_1.isFocusableWithTabKey(node, checkVisibility); }, false);
};