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

8 lines
245 B
Plaintext

export function setWindowGrey(ele:any|null=null) {
let dom = document.body;
dom.style.setProperty('filter', 'grayscale(1)')
}
export function removeWindowGrey(ele:any|null=null) {
let dom = document.body;
dom.style.removeProperty('filter')
}