All Projects → iuap-design → Kero

iuap-design / Kero

Licence: mit
kero is a front-end model framework. - kero是一个前端模型框架,做为MVVM架构中Model层的增强,提供多维数据模型,解决企业应用中复杂的业务应用场景的开发问题。

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Kero

indexed-string-variation
Experimental JavaScript module to generate all possible variations of strings over an alphabet using an n-ary virtual tree
Stars: ✭ 16 (-94.2%)
Mutual labels:  javascript-library
filestorage.js
Filestorage.js is client library for SKALE sidechain decentralized file storage. Used to transfer files between a browser and a SKALE sidechain.
Stars: ✭ 25 (-90.94%)
Mutual labels:  javascript-library
Typelighterjs
Take a stride into the world of dynamic and appealing typewriters. You can be sure that you will never even think of looking back.
Stars: ✭ 262 (-5.07%)
Mutual labels:  javascript-library
spacers
🔳 when you need more __space__ for your no-code tools.
Stars: ✭ 211 (-23.55%)
Mutual labels:  javascript-library
afinn
Sentiment Analysis in Javascript using the AFINN Lexicon
Stars: ✭ 26 (-90.58%)
Mutual labels:  javascript-library
tiny-lit
JavaScript library for building user interfaces using template literals
Stars: ✭ 17 (-93.84%)
Mutual labels:  javascript-library
ring-election
A node js library with a distributed leader/follower algorithm ready to be used
Stars: ✭ 92 (-66.67%)
Mutual labels:  javascript-library
Livebot
An app that allows you to be inside a bot!
Stars: ✭ 271 (-1.81%)
Mutual labels:  javascript-library
diaeresis
A lightweight (<1kb minified + gzipped) JavaScript library that lets you wield diæreses like C̶h̶u̶c̶k̶ Mary Norris:
Stars: ✭ 15 (-94.57%)
Mutual labels:  javascript-library
Ellipsed
A JavaScript library for multilined ellipsis
Stars: ✭ 261 (-5.43%)
Mutual labels:  javascript-library
previewSlider
Responsive fullscreen image slider where the users are able to preview next/previous image when hovering over the navigation arrows.
Stars: ✭ 16 (-94.2%)
Mutual labels:  javascript-library
validate-polish
Utility library for validation of PESEL, NIP, REGON, identity card etc. Aimed mostly at Polish enviroment. [Polish] Walidacja numerów pesel, nip, regon, dowodu osobistego.
Stars: ✭ 31 (-88.77%)
Mutual labels:  javascript-library
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (-6.52%)
Mutual labels:  javascript-library
xss-firewall
xss monitor and intercept
Stars: ✭ 16 (-94.2%)
Mutual labels:  javascript-library
Apify Js
Apify SDK — The scalable web scraping and crawling library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.
Stars: ✭ 3,154 (+1042.75%)
Mutual labels:  javascript-library
excel-date-to-js
Convert Excel date in integer format into JS date. Dates are stored as numbers in Excel and count the number of days since January 0, 1900 (1900 standard, for mac it is 1904, which means January 0, 1904 is the start date). Times are handled internally as numbers between 0 and 1.
Stars: ✭ 26 (-90.58%)
Mutual labels:  javascript-library
typical
Isomorphic, functional type-checking for Javascript
Stars: ✭ 17 (-93.84%)
Mutual labels:  javascript-library
Oimophysics
A cross-platform 3D physics engine
Stars: ✭ 269 (-2.54%)
Mutual labels:  javascript-library
Formvuelate
Dynamic schema-based form rendering for VueJS
Stars: ✭ 262 (-5.07%)
Mutual labels:  javascript-library
Jschema
A simple, easy to use data modeling framework for JavaScript
Stars: ✭ 261 (-5.43%)
Mutual labels:  javascript-library

npm version Build Status devDependency Status NPM downloads

中文文档

Introduction

kero is a front-end model framework,As a MVVM architecture Model layer, multidimensional data Model, provide the solution for complex enterprise applications business application scenario development problems。

Features

  • Abundant API
  • Multidimensional Data Model
  • Status identifier
  • Paging cache capacity
  • event trigger

Quickstart

Get kero

  • npm
npm install kero
  • cdn
//design.yonyoucloud.com/static/kero/latest/kero.js

Introducing kero

  • ES6
import { Datatable } from "kero"

  • HTML
<!-- kero is dependent on knockout-->
<script src="//design.yonyoucloud.com/static/knockout/knockout-3.2.0.debug.js"></script>
<script src="//design.yonyoucloud.com/static/kero/latest/kero.js"></script>

Use

definition

	var myDataTable = new u.DataTable({
		meta:{
			field1:{required:true},
			field2:{}
		}
	})

add data

dataTable.setSimpleData([
    {"id": "001","name": "tom"},
    {"id": "002","name": "john"}
])

setValue

var row = dataTable.createEmptyRow();
row.setValue('id','003')

update

var row = dataTable.getRow(index);
row.setValue('name','jerry');

delete

dataTable.removeRow(index);

get all data

var json = dataTable.getSimpleData();

add event trigger

dataTable1.on('valueChange',function(event){
	var field = event.field,
		rowId = event.rowId,
		oldValue = event.oldValue,
		newValue = event.newValue;
});

Read the Develop documentation for information on the framework contents, templates and examples, and more.

Contributing

Develop

Developers can participate in the development of kero, but also can be based on kero two development

kero use gulp.js and webpack build the project.

clone:

$ git clone [email protected]:iuap-design/kero.git

install:

$ npm install

build:

$ npm run product

Feedback

If you encounter any problems , submit issues,or pull request。

PR code

Licence 版权

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].