You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
import { shortcut, Widget } from "@/core"; |
|
|
|
@shortcut() |
|
export class IconCombo extends Widget { |
|
static xtype = "demo.icon_combo"; |
|
|
|
props = { baseCls: "" }; |
|
|
|
render() { |
|
const self = this; |
|
|
|
return { |
|
type: "bi.horizontal_auto", |
|
items: [ |
|
{ |
|
type: "bi.icon_combo", |
|
container: "body", |
|
ref(_ref) { |
|
self.refs = _ref; |
|
}, |
|
value: "第二项", |
|
items: [ |
|
{ |
|
value: "第一项", |
|
iconCls: "close-font", |
|
}, |
|
{ |
|
value: "第二项", |
|
iconCls: "search-font", |
|
}, |
|
{ |
|
value: "第三项", |
|
iconCls: "copy-font", |
|
} |
|
], |
|
} |
|
], |
|
vgap: 20, |
|
}; |
|
} |
|
}
|
|
|