schmelczer-dev/src/framework/helper/animations.ts
Schmelczer András aa0906405c Minor fixes
2020-01-08 22:22:26 +01:00

5 lines
207 B
TypeScript

export const turnOnAnimations = () =>
document.body.parentElement.setAttribute('animations', 'on');
export const turnOffAnimations = () =>
document.body.parentElement.setAttribute('animations', 'off');