1 | /** |
2 | * @param { HTMLElement } elementoHtml |
3 | */ |
4 | export function abreElementoHtml(elementoHtml) { |
5 | const list = elementoHtml.classList |
6 | if (!list.contains("open")) { |
7 | elementoHtml.hidden = false |
8 | setTimeout(() => list.add("open"), 100) |
9 | } |
10 | } |