【文件属性】:
文件名称:newforms-examples:newforms React 的示例存储库
文件大小:256KB
文件格式:ZIP
更新时间:2021-06-12 15:00:47
JavaScript
新形式-例子
示例存储库。
()
包含尽可能多的默认新表单字段和小部件的基本表单,显示字段支持的一系列选项。
此示例还演示了:
覆盖默认的render()方法
使用BoundField和 JSX 实现自定义渲染。
()
此示例展示了如何编写自定义的、可重用的布局,以便根据如下规范在网格中布置表单字段:
GridLayout ( {
layout : [
[ 'name' ]
, [ 'theme' ]
, [ 'startDate' , 'releaseDate' ]
, [ 'state' , 'resources' ]
, [ 'project' ]
, [ 'estimate' ]
, [ 'notes' ]
]
, fillerCssClass : 'empty'
, topErrorC
【文件预览】:
newforms-examples-master
----.jshintrc(451B)
----contact-form()
--------index.html(996B)
--------app.js(7KB)
--------app.jsx(6KB)
--------style.css(0B)
----gulpfile.js(1KB)
----custom-layout()
--------index.html(904B)
--------app.js(6KB)
--------app.jsx(5KB)
--------style.css(1KB)
----README.md(3KB)
----formset-add-another()
--------index.html(787B)
--------app.js(15KB)
--------app.jsx(13KB)
--------style.css(111B)
----.gitignore(14B)
----all-fields()
--------index.html(659B)
--------app.js(8KB)
--------app.jsx(7KB)
--------style.css(273B)
----package.json(545B)
----vendor()
--------react.js(584KB)
--------bootstrap-3.1.1.min.css(98KB)
--------concur-0.3.0.min.js(2KB)
--------bootstrap-theme-3.1.1.min.css(13KB)
--------newforms.js(304KB)
--------isomorph-0.3.0.min.js(12KB)