Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jide

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jide

jide.js is a free UI toolkit for modern web applications based on data binding and separation of concerns.

  • 1.0.0-beta4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

jide.js

jide.js is an open source, MIT licensed, Javascript toolkit for developing rich, modern web applications. It features various powerful UI controls.

It is built around the concept of properties and data binding and enables highly efficient programming.

jide.js uses the AMD format and can be used with any AMD compatible loader such as require.js.

Getting started

Installation

Since jide.js uses the AMD format, you must start by including an AMD loader in your HTML file. Since there are a lot of choices we can only handle the most obvious one: require.js.

For the purpose of this tutorial, we assume that your project has the following directory layout:

  • /index.html
  • /app.js (your application)
  • /jidejs (copied from your jide.js download or checkout)
  • /require.js

Now place the following content in your index.html file:

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="./jidejs/default.css">
</head>
<body>
<!-- your HTML content, nothing for now -->
<script src="./require.js" data-main="app.js"></script>
</body>
</html>

This is a minimal HTML file that loads require.js as well as the default jide.js theme and your application.

Now create your app.js and place something along the following lines in it:

// and start your application
require([
'jidejs/ui/control/Button'
], function(Button) {
// use strict mode, or not - up to you
"use strict";
// create a new Button
var myButton = new Button({
text: 'Say hello!',
on: {
    click: function() {
        alert("Hello World, I'm a jide.js programmer now!");
    }
}
});
// add the Button to the DOM
document.body.appendChild(myButton.element);
});

Congratulations! You've successfully created your first fully functional jide.js application!

What next?

jide.js comes bundled with plenty of documentation that you can directly access from this page.

  • Website
  • Guide The Guide provides a structured introduction to jide.js for those who prefer to read.
  • Examples The Examples provide an interactive way to learn jide.js in case you'd like to explore and test it before starting to read the detailed guide or diving into the API documentation.
  • API If you need to explore the API of a class or method in detail, the API documentation is the best way to do so.

Keywords

FAQs

Package last updated on 21 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc