21 lines
642 B
JavaScript
21 lines
642 B
JavaScript
import './css/ui.min.css'
|
|
import './style.css'
|
|
import javascriptLogo from './javascript.svg'
|
|
import { resolveCheckbox, resolveIcon, resolveTooltip } from './lib/ui'
|
|
|
|
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')) |