sync working code, and import type-doc
This commit is contained in:
@ -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;
|
||||
}
|
Reference in New Issue
Block a user