GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — update pluginWidget.md · EasterGit/lowcode-engine@ba6bdda

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/docs/guide/expand/editor
    • pluginWidget.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/docs/guide/expand/editor/pluginWidget.md‎

Copy file name to clipboardExpand all lines: docs/docs/guide/expand/editor/pluginWidget.md
+8-11Lines changed: 8 additions & 11 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -172,19 +172,16 @@ skeleton.add({
172172
area: 'leftArea',
173173
type: 'Dock',
174174
name: 'opener',
175-
content: Opener, // Widget 组件实例
176-
contentProps: { // Widget 插件 props
177-
xxx: '1',
178-
},
179175
props: {
176+
icon: Icon, // Icon 组件实例
180177
align: 'bottom',
181-
},
182-
onClick: function () {
183-
// 打开外部链接
184-
window.open('https://lowcode-engine.cn');
185-
// 显示 widget
186-
skeleton.showWidget('xxx');
187-
},
178+
onClick: function () {
179+
// 打开外部链接
180+
window.open('https://lowcode-engine.cn');
181+
// 显示 widget
182+
skeleton.showWidget('xxx');
183+
}
184+
}
188185
});
189186
```
190187

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.