demarches-normaliennes/app/javascript/shared/utils.js

12 lines
211 B
JavaScript
Raw Normal View History

2018-09-06 19:23:27 +02:00
export function show({ classList }) {
classList.remove('hidden');
}
export function hide({ classList }) {
classList.add('hidden');
}
export function toggle({ classList }) {
classList.toggle('hidden');
}