Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@grid-form/common

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grid-form/common

> [栅栏表单](https://github.com/0604hx/grid-form)通用模块

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
46
91.67%
Maintainers
1
Weekly downloads
 
Created
Source

GRID-FORM-COMMON

栅栏表单通用模块

名称参数说明
createForm创建用于表单设计器、渲染器的数据对象
createFormItem(widget)创建表单项
buildOptions(text, valueField="value")生成适用于 naive-ui 的选项列表
buildComponent(item, widget, track=true)渲染表单组件
withHtmlNode(html)创建 div 包含指定的 html 代码
lifeCycles常量表单事件定义
formValueProviderObject根据占位符计算表单项的默认值
triggerLoaded(body, form)用于表单加载完成后触发 onLoad 事件
triggerBeforeSubmit(body, form, items)用于表单加载完成后触发 onSubmit 事件
triggerExtraButtonClick(body, form)自定义按钮点击后触发的事件

文档请查阅:grid-form in Github

FAQs

Package last updated on 10 Nov 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