Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系

License

Notifications You must be signed in to change notification settings

fe-lce/lowcode-engine-ext

Open more actions menu
 
 

Repository files navigation

@felce/lowcode-engine-ext

简介

lowcode-engine-ext 引擎官方提供的 setter 和 setter 必须依赖的插件集合

setter(设置器) 是用来展示每个物料的属性,setter 使用说明手册 官方 setter 列表说明

使用方式

使用 CDN 方式引用

unpkg

https://unpkg.com/@felce/lowcode-engine-ext@1.1.1/dist/css/engine-ext.css
https://unpkg.com/@felce/lowcode-engine-ext@1.1.1/dist/js/engine-ext.js

npmmirror

✨ 国内推荐使用 npm 镜像,速度更快

https://registry.npmmirror.com/@felce/lowcode-engine-ext/1.1.1/files/dist/css/engine-ext.css
https://registry.npmmirror.com/@felce/lowcode-engine-ext/1.1.1/files/dist/js/engine-ext.js

jsdelivr

https://cdn.jsdelivr.net/npm/@felce/lowcode-engine-ext@1.1.1/dist/css/engine-ext.css
https://cdn.jsdelivr.net/npm/@felce/lowcode-engine-ext@1.1.1/dist/js/engine-ext.js

拓展变量绑定面板

通过传入 extraDataMap 拓展属性绑定面板

ctx.skeleton.add({
  area: 'centerArea',
  type: 'Widget',
  content: pluginMap.VariableBindDialog,
  name: 'variableBindDialog',
  props: {
    getSchema: () => editorController.getSchema(),
    // 拓展变量绑定
    extraDataMap: {
      props: {
        name: 'Props', // 变量组展示名
        key: 'props', // 属性名,例如 this.props
        getChildren: () => [
          {
            label: 'prop1',
            value: 'value1',
          },
          {
            label: 'prop2',
            children: [{ label: 'propxxx', value: 1 }],
          },
        ],
      },
    },
  },
});

About

An enterprise-class low-code technology stack with scale-out design / 一套面向扩展设计的企业级低代码技术体系

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 85.4%
  • Less 12.8%
  • SCSS 1.1%
  • Other 0.7%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.