Files
2026-09-24 16:25:22 +08:00

8 lines
233 B
Plaintext

export function setWindowGrey(ele:UniElement) {
ele.style.setProperty('filter', 'grayscale(1)')
}
export function removeWindowGrey(ele:UniElement) {
// ele.style.removeProperty('filter')
ele.style.setProperty('filter', 'none')
}