demarches-normaliennes/app/javascript/shared/utils.js
2018-09-12 15:53:02 +02:00

11 lines
211 B
JavaScript

export function show({ classList }) {
classList.remove('hidden');
}
export function hide({ classList }) {
classList.add('hidden');
}
export function toggle({ classList }) {
classList.toggle('hidden');
}