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
677 B
29 lines
677 B
2 years ago
|
import { CONSTANTS } from "@/config/constant";
|
||
|
import { shortcut, Widget } from "@fui/core";
|
||
8 years ago
|
|
||
2 years ago
|
@shortcut()
|
||
|
export class Func extends Widget {
|
||
|
static xtype = "demo.lazy_loader";
|
||
|
|
||
|
props = { baseCls: "demo-func" };
|
||
|
|
||
|
render() {
|
||
|
const self = this;
|
||
2 years ago
|
createWidget({
|
||
8 years ago
|
type: "bi.lazy_loader",
|
||
|
element: this,
|
||
|
el: {
|
||
2 years ago
|
layouts: [
|
||
|
{
|
||
|
type: "bi.left",
|
||
|
hgap: 5,
|
||
|
}
|
||
|
],
|
||
8 years ago
|
},
|
||
2 years ago
|
items: createItems(deepClone(CONSTANTS.ITEMS), {
|
||
2 years ago
|
type: "bi.button",
|
||
|
}),
|
||
7 years ago
|
});
|
||
8 years ago
|
}
|
||
2 years ago
|
}
|