Lines Matching refs:a
291 this.selectMultipleRootEl.childNodes.forEach((a: any) => {
292 if (a.tagName === 'DIV') {
293 delNodes.push(a);
304 this.querySelectorAll('lit-select-option').forEach((a) => a.removeAttribute('selected'));
361 this.querySelectorAll('lit-select-option').forEach((a) => {
363 a.style.display = 'flex';
388 els.forEach((a: any) => (a.style.display = 'flex'));
390 els.forEach((a: any) => {
391 let value = a.getAttribute('value');
394 a.textContent.toLowerCase().indexOf(ev.target.value.toLowerCase()) !== -1
396 a.style.display = 'flex';
398 a.style.display = 'none';
424 …let filter = [...this.querySelectorAll('lit-select-option')].filter((a: any) => a.style.display !=…
447 this.querySelectorAll('lit-select-option').forEach((a) => {
449 a.setAttribute('check', '');
450 if (a.getAttribute('value') === this.defaultValue) {
451 let tag = this.newTag(a.getAttribute('value'), a.textContent);
456 a.setAttribute('selected', '');
459 if (a.getAttribute('value') === this.defaultValue) {
460 this.selectInputEl.value = a.textContent;
461 a.setAttribute('selected', '');
464 a.addEventListener('mouseup', (e) => {
467 a.addEventListener('mousedown', (e) => {
470 a.addEventListener('onSelected', (e: any) => {
472 if (a.hasAttribute('selected')) {
491 … [...this.querySelectorAll('lit-select-option')].forEach((a) => a.removeAttribute('selected'));
497 if (a.hasAttribute('selected')) {
498 a.removeAttribute('selected');
500 a.setAttribute('selected', '');
515 this.querySelectorAll('lit-select-option').forEach((a) => {
516 [...this.querySelectorAll('lit-select-option')].forEach((a) => a.removeAttribute('selected'));
517 if (a.getAttribute('value') === this.defaultValue) {
518 this.selectInputEl.value = a.textContent;
519 a.setAttribute('selected', '');
531 [...this.querySelectorAll('lit-select-option')].forEach((a) => {
532 if (a.getAttribute('value') === newValue) {
533 a.setAttribute('selected', '');
534 this.selectInputEl.value = a.textContent;
536 a.removeAttribute('selected');