Skip to content

Rapid JS is a framework based around web components and rapid development.

License

Notifications You must be signed in to change notification settings

perrybutler/rapidjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rapid JS

rapid.js

Write Once, Run Anywhere. Rapid prototyping and live in-page editing without leaving the browser.

The barrier to entry is very low here, no setting up Node, no toolchain rituals. Nothing too complicated at all.

Just include all three files in your HTML:

<head>
  <link rel="stylesheet" type="text/css" href="rapidjs/style.css">
</head>

<body>
  (...)
  <script type="text/javascript" src="rapidjs/rapid.js"></script>
  <script type="text/javascript" src="rapidjs/customelements.js"></script>
</body>

And then you can start using Rapid Components by tagging elements in your HTML with the appropriate data-* attribute, and any additional parameters:

<div data-rapid-expander="SPOILER ALERT!!!">
<table data-rapid-cellcalc></table>

The HTML elements are up-converted to fully functional components on page load. You can also develop your own Rapid Components very easily. Components currently included:

Expander, Table of Contents, Protocol, Syntax, Grid, Option, Image, Embed, Nav, Block, Cell Calc, Dirlist

Demo site:

http://glassocean.net/lab/rapidjs/index.html

About

Rapid JS is a framework based around web components and rapid development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published