Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this._currentNode = node;
// -----------------------------------------------------------------
this._showOthersBack = DomNavigationManager.hidingManager.hideOthers(node);
node.className += ' isolated';
// -----------------------------------------------------------------
var interceptor = DomNavigationManager.ElementNavigationInterceptor(node, loop);
this._currentInterceptor = interceptor;
interceptor.ensureElements();
// -----------------------------------------------------------------
var nodeName = ariaUtilsDom.getElementsByClassName(node, 'node_name')[0];
this._focusElement(next, nodeName);
},
condition : function () {
var popup = widget._dropdownPopup;
return popup && ariaUtilsDom.getElementsByClassName(popup.domElement, idInPopup).length > 0;
},
callback : cb
this.waitForPopup(widget, idInPopup, function () {
var elements = ariaUtilsDom.getElementsByClassName(widget._dropdownPopup.domElement, idInPopup);
this.synEvent.click(elements[0], cb);
});
},
condition : function () {
var popup = widget._dropdownPopup;
return popup && ariaUtilsDom.getElementsByClassName(popup.domElement, idInPopup).length > 0;
},
callback : cb
clickOnWidgetIcon : function (widget, cb) {
var icon = ariaUtilsDom.getElementsByClassName(widget.getDom(), "xICNdropdown")[0];
this.synEvent.click(icon, cb);
},
getAllDatesDomElt : function () {
var calendar = this.getTestedCalendar();
var calendarDomElt = calendar.getDom();
return domUtils.getElementsByClassName(calendarDomElt, "xCalendar_std_day");
},
this.waitForPopup(widget, idInPopup, function () {
var elements = ariaUtilsDom.getElementsByClassName(widget._dropdownPopup.domElement, idInPopup);
this.synEvent.click(elements[0], cb);
});
},
clickOnWidgetIcon : function (widget, cb) {
var icon = ariaUtilsDom.getElementsByClassName(widget.getDom(), "xICNdropdown")[0];
this.synEvent.click(icon, cb);
},
_getNodeNameElement : function (node) {
return ariaUtilsDom.getElementsByClassName(node, 'node_name')[0];
},