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

3 lines
89 B
JavaScript
Raw Normal View History

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