Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@easyv/react-gui

Package Overview
Dependencies
Maintainers
0
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/react-gui

## tip: 组件配置项,旧版本 “ _xxx ” 开头,新版本 " xxx "

  • 1.20.14-beta.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
61
decreased by-81.35%
Maintainers
0
Weekly downloads
 
Created
Source

Easy[V] 组件 GUI 配置界面

tip: 组件配置项,旧版本 “ _xxx ” 开头,新版本 " xxx "

旧版本:

旧版本config

类似于name/value/displayName/type 都属于主属性,不会改变其数据结构位置,如上图示例 selectableDisableddefaultEntry等其他属性会被处理到config对象中, 组件接收的数据如下所示

 {
                  name: 'upload5',
                  displayName: '文件夹',
                  config:{
                    selectableDisabled:true,
                    defaultEntry:'/main.json',
                    accept:".easytwin",
                  },
                  value: {
                    entry: 'components/static-image/borderMapNew/hebei/130000.json',
                    options: [
                      xxx
                    ]
                  },
                  type: 'folder'
                }


新版本

新版本config

类似于name/value/displayName/type 都属于主属性,不会改变其数据结构位置,如上图示例 selectableDisableddefaultEntry等其他属性 需要预先写到 config对象中, 组件接收的数据如下所示

  {
              name: 'upload7',
              displayName: '文件夹_new',
              config:{
                selectableDisabled:true,
                defaultEntry:'/main.json',
                accept:".easytwin"
              },
              value: {
                entry: 'components/static-image/borderMapNew/hebei/130000.json',
                options: [
                 xxx
                ]
              },
              type: 'folder'
            },

FAQs

Package last updated on 17 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc