add dropdown component

This commit is contained in:
tsanie committed 2023-03-31 17:35:36 +08:00
1 parent b9447997fe
commit 41b1bbd7d6
20 files changed
+575 -74

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@
lgres.init(document.body, {
template: '/res.json',
callback: (res) => document.title = res.r('title', 'Default Title')
callback: res => document.title = res.r('title', 'Default Title')
}).then(res => {
document.querySelector('#header').innerText = res.r('header', 'My Header');
const msg = lgres.lang.unknownError;