ui-lib/main.js
2023-03-29 17:22:44 +08:00

22 lines
678 B
JavaScript

import './css/ui.min.css'
import './style.css'
import javascriptLogo from './javascript.svg'
import { resolveCheckbox, resolveIcon } from './lib/main.js'
import { resolveTooltip } from './lib/tooltip'
document.querySelector('#js-logo').src = javascriptLogo
window.consts = {
path: '/',
resver: 20230329
}
// document.querySelector('#create-icon').appendChild(createIcon('fa-solid', 'user-edit'))
resolveIcon(document.querySelector('#create-icon'))
// document.querySelector('#create-checkbox').appendChild(createCheckbox({
// label: 'Switch 1'
// }))
resolveCheckbox(document.querySelector('#create-checkbox'))
resolveTooltip(document.querySelector('#buttons'))