forked from fanruan/fineui
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.
29 lines
712 B
29 lines
712 B
import { shortcut, Widget, createWidget } from "@/core"; |
|
|
|
@shortcut() |
|
export class Func extends Widget { |
|
static xtype = "demo.editor_trigger"; |
|
|
|
props = { baseCls: "demo-func" }; |
|
|
|
render() { |
|
createWidget({ |
|
type: "bi.vertical", |
|
element: this, |
|
items: [ |
|
{ |
|
type: "bi.label", |
|
text: "输入框加图标的trigger", |
|
}, |
|
{ |
|
type: "bi.editor_trigger", |
|
watermark: "这是水印", |
|
width: 200, |
|
height: 24, |
|
} |
|
], |
|
hgap: 20, |
|
vgap: 20, |
|
}); |
|
} |
|
}
|
|
|