hexo-theme-keep/source/js/utils.js

5 lines
91 B
JavaScript
Raw Normal View History

2020-03-15 15:45:38 +08:00
export const addClass = (element, className) => {
element.classList.add(className)
};