sync working code, and import type-doc

This commit is contained in:
2023-07-17 17:24:49 +08:00
parent 7ab7a7094a
commit 3e9ee59178
43 changed files with 1024 additions and 1553 deletions

View File

@ -81,7 +81,7 @@ function filterSource(searchkeys, textkey, key, source) {
return source;
}
class Dropdown {
export class Dropdown {
#options;
#wrapper;
@ -412,7 +412,7 @@ class Dropdown {
createCheckbox({
label: r('allItem', '( All )'),
checked: allchecked,
customerAttributes: { 'isall': '1' },
customAttributes: { 'isall': '1' },
onchange: e => this.#triggerselect(e.target)
})
)
@ -444,7 +444,7 @@ class Dropdown {
const box = createCheckbox({
label,
checked: allchecked || selected,
customerAttributes: {
customAttributes: {
'class': 'dataitem',
'data-value': val
},
@ -527,6 +527,4 @@ class Dropdown {
}
return dom;
}
}
export default Dropdown;
}