З🧟
Size: a a a
З🧟
N
З🧟
DE
DE
EG
DE
const el = document.createElement('div')
el.style.position = 'absolute'
el.style.background = '#ccc'
el.style.width = '100px'
el.style.height = '40px'
const wrap = document.querySelector('.demo-theme-dark')
wrap.append(el)
const paths = document.querySelectorAll('.demo-theme-dark path')
paths.forEach((path) => {
path.addEventListener('mouseover', () => {
el.innerHTML = path.getAttribute('aria-label').trim()
})
})
S
const el = document.createElement('div')
el.style.position = 'absolute'
el.style.background = '#ccc'
el.style.width = '100px'
el.style.height = '40px'
const wrap = document.querySelector('.demo-theme-dark')
wrap.append(el)
const paths = document.querySelectorAll('.demo-theme-dark path')
paths.forEach((path) => {
path.addEventListener('mouseover', () => {
el.innerHTML = path.getAttribute('aria-label').trim()
})
})
N
EG
const el = document.createElement('div')
el.style.position = 'absolute'
el.style.background = '#ccc'
el.style.width = '100px'
el.style.height = '40px'
const wrap = document.querySelector('.demo-theme-dark')
wrap.append(el)
const paths = document.querySelectorAll('.demo-theme-dark path')
paths.forEach((path) => {
path.addEventListener('mouseover', () => {
el.innerHTML = path.getAttribute('aria-label').trim()
})
})
EG
DE
EG
DE
EG
DE
EG
EG
DE