Lines Matching defs:event
101 elem.addEventListener('click', function (event) {
102 event.stopPropagation();
108 elem.addEventListener('click', function (event) {
145 spanElem.addEventListener('click', function (event) {
146 if (event.target.parentElement.tagName.toLowerCase() != 'label') {
147 let sibling = mikio.getPrevSibling(event.target, 'input');
174 elem.addEventListener('keydown', function (event) {
175 var sibling = mikio.getPrevSibling(event.target, 'span');
179 if (event.target.value != '') {
191 elem.addEventListener('click', function (event) {
192 event.preventDefault();
215 elem.addEventListener('click', function (event) {
216 event.preventDefault();
270 elem.addEventListener('click', function (event) {
271 var liElem = event.target.closest('li');
272 if (liElem && event.target.closest('ul.thumbs')) {
399 window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (event) => {
404 this.addEventListenerByClassName('mikio-darklight-button', 'click', function (event) {
405 event.preventDefault();
406 event.stopPropagation();
455 this.addEventListenerByClassName(elemToggle, 'click', function (event) {
456 event.preventDefault();
457 event.stopPropagation();
467 this.addEventListenerByClassName(elemToggle, 'click', function (event) {
468 event.preventDefault();
469 event.stopPropagation();
668 document.addEventListener('mouseover', function (event) {
670 if ([...event.target.classList].some(className => indexmenuClasses.indexOf(className) !== -1)) {
671 let prev = mikio.getPrevSibling(event.target, 'img');
678 document.addEventListener('mouseout', function (event) {
680 if ([...event.target.classList].some(className => indexmenuClasses.indexOf(className) !== -1)) {
681 let prev = mikio.getPrevSibling(event.target, 'img');