1.0.0 • Published 10 years ago
uxcore-select v1.0.0
uxcore-select
uxcore-select ui component for react
$ git clone https://github.com/uxcore/uxcore-select
$ cd uxcore-select
$ npm install
$ npm run dev
then nav http://localhost:9090/example/ to see the demo
Apply scope
simple table, just support view, also support column format handler
``` var App = require('../lib/index.jsx'); var options=[ {label:"上海",value:"SH",selected:true}, {label:"北京",value:"BJ"} ]; var SelectField =<App jsxdisabled=""> <option >请选择</option> <option value="bj" selected>北京</option> <option value="nj">南京</option> <option value="dj">东京</option> <option value="xj">西京</option> </App>
React.render(
React.createElement(App,{jsxdata:options,jsxdisabled:"disabled"}),
document.getElementById('content'));
React.render(
React.createElement(App,{jsxdata:options,jsxdisabled:""}),
document.getElementById('content2'));
React.render(SelectField,
document.getElementById('content3'));
```
Attr
- jsxdata
- jsxdisabled
1.0.0
10 years ago