Lines Matching refs:elements
9 * string 'host.shared' will match any elements with an associated attribute
10 * of 'host' or 'host.shared', showing those elements and hiding all others.
11 * Elements with no associated attribute are ignored.
21 // 'home' state applies to all elements and can be removed.
76 * Update the DOM by showing or hiding elements based on whether or not they
86 var elements = document.querySelectorAll('[' + attr + ']');
87 // Hide elements first so that we don't end up trying to show two modal
89 for (var i = 0; i < elements.length; ++i) {
90 var element = /** @type {Element} */ elements[i];
95 for (var i = 0; i < elements.length; ++i) {
96 var element = /** @type {Element} */ elements[i];
239 var elements = document.querySelectorAll('[' + kSavedAttributeName + ']');
240 for (var i = 0 ; i < elements.length; ++i) {
241 var element = /** @type {Element} */ elements[i];