kero-adapter v3.1.23
Introduction
kero-adapter A adapter for kero and tinper neoui。
Features
Create component
Simplify data manipulation
Quickstart
Quickstart
- From github
git clone git@github.com:iuap-design/kero-adapter.git- npm
npm install kero-adaptersimple example
<input id="demo_input" u-meta='{"id":"t1","type":"string","data":"dt1","field":"f1"}' />
<div id="demo_div"></div></code></pre>
</div>// JS
var app,viewModel;
viewModel = {
dt1: new u.DataTable({
meta:{
f1:{
type:'string'
}
}
})
};
app = u.createApp({
el:'body',
model:viewModel
});
var r = viewModel.dt1.createEmptyRow();
r.setValue('f1','Hello World');
var demoInput = document.getElementById('demo_input');
var demoDiv = document.getElementById('demo_div');
var getDtValue = function() {
var dtVal = viewModel.dt1.getValue('f1');
demoDiv.innerHTML = dtVal;
};
demoInput.addEventListener('blur',getDtValue);
getDtValue();Document
Contributing
Feedback
If you encounter any problems , submit issues,or pull request。
Develop
Developers can participate in the development of kero-adapter, but also can be based on kero-adapter two development
kero-adapter use gulp.js and webpack build the project.
clone:
$ git clone git@github.com:iuap-design/kero-adapter.gitinstall:
$ npm installbuild:
$ npm run productWebsite Chat Group
527124070
Licence 版权
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago