KissJS stands for Keep It Simple Stupid JavaScript
It's a simple javascript library to build web applications.
It includes:
- out-of-the-box UI components
- a powerful datatable
- a calendar view
- a kanban board
- a timeline view
All these components have high performances when the number of records is heavy (> 10 000)
Bonus stuff:
- view manager, if you want to use KissJS not only for its UI Components, but also to build a complete application with multiple views
- client router which works 100% offline (even with file:/// paths)
- pubsub which is at the heart of the components reactivity
- NoSQL database wrapper which allows to work in memory, offline, or online
- NoSQL ORM to manage Models, Collections, Records, and automate the updates when records have relationships
A few recommandations:
- don't try to explore the API documentation directly: it's boring and uninteresting
- you'd rather jump to the guide which contains a few easy step by step tutorials
Here is an overview of what it provides:
Namespaces
- acl
- ajax
- app
- context
- data
- db
- directory
- formula
- language
- loader
- loadingSpinner
- logger
- plugins
- pubsub
- router
- screen
- selection
- serviceWorker
- session
- theme
- tools
- ui
- undoRedo
- ux
- views
- websocket
Methods
# static addToModule(moduleName, methods)
Add client/server shared methods to a specific kiss module
Parameters:
Name | Type | Description |
---|---|---|
moduleName |
string
|
|
methods |
object
|
Example
kiss.addToModule("tools", {
sayHello: function() {
console.log("Hello")
},
sayGoodbye: () => console.log("Goodbye!")
})
kiss.tools.sayHello() // "Hello"
kiss.tools.sayGoodbye() // "Goodbye"