Giter Site home page Giter Site logo

mzy911 / fork-ali-lowcode-engine-ext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/lowcode-engine-ext

1.0 0.0 0.0 202 KB

阿里低代码 - 设计器

Home Page: https://lowcode-engine.cn

License: MIT License

JavaScript 1.01% TypeScript 84.66% HTML 0.40% Less 12.80% SCSS 1.12%

fork-ali-lowcode-engine-ext's Introduction

@alilc/lowcode-engine-ext

简介

lowcode-engine-ext 是阿里低代码引擎官方提供的 setter 和 setter 必须依赖的插件集合

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

使用方式

使用 CDN 方式引用,下方是官方提供的两个稳定 CDN

方式 1:alifd cdn

1: alifd cdn

https://alifd.alicdn.com/npm/@alilc/[email protected]/dist/css/engine-ext.css

https://alifd.alicdn.com/npm/@alilc/[email protected]/dist/js/engine-ext.js

方式 2: uipaas cdn

https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.5/dist/css/engine-ext.css

https://uipaas-assets.com/prod/npm/@alilc/lowcode-engine-ext/1.0.5/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 }
            ]
          }
        ],
      }
    }
  },
});

fork-ali-lowcode-engine-ext's People

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.