Home | History | Annotate | Download | only in searchvox

Lines Matching refs:targetNode

65  * @param {Node} targetNode The node.
69 var getActiveDescendantId_ = function(targetNode) {
70 if (!targetNode.getAttribute) {
74 var activeId = targetNode.getAttribute('aria-activedescendant');
88 * @param {Node} targetNode The node to get descendant information for.
91 var getActiveDescendant = function(targetNode) {
93 var node = targetNode;
108 if (node == targetNode) {
115 * Dispatches a left click event on the element that is the targetNode.
117 * @param {Node} targetNode The target node of this operation.
124 targetNode, shiftKey, callOnClickDirectly, opt_double) {
125 // If there is an activeDescendant of the targetNode, then that is where the
127 var activeDescendant = getActiveDescendant(targetNode);
129 targetNode = activeDescendant;
133 if (targetNode.onclick) {
134 onClickFunction = targetNode.onclick;
136 if (!onClickFunction && (targetNode.nodeType != 1) &&
137 targetNode.parentNode && targetNode.parentNode.onclick) {
138 onClickFunction = targetNode.parentNode.onclick;
164 targetNode.dispatchEvent(evt);
173 targetNode.dispatchEvent(evt);
182 targetNode.dispatchEvent(evt);