Code Monkey home page Code Monkey logo

tabletone's Introduction

Tabletone

Tabletone is a Javascript library for making interactive live-looping grids using only HTML tags and the unstoppable power of tables. Unleash your creativity within a very specific visual layout!

How do I get it?

Just grab the files from the build directory. You need at least tabletone.css and tabletone.[min].js. If you want to support browsers without the Fetch API (all of them except Chrome right now) then you'll also need the fetch.js polyfill, or just use tabletone.combined.js.

How do I use it?

Check out this totally sweet example page. The code for that is in the example directory but the short version is:

<link rel="stylesheet" href="tabletone.css">
<tt-table>
  <tt-row>
    <tt-cell></tt-cell>
    <tt-cell pulse src="mysweetloopfile.mp3"></tt-cell>
  </tt-row>
</tt-table>
<script src="tabletone.js"></script>

If your tt-cell has no src attribute it will appear as a blank cell so you can make artistic use of negative space or whatever. pulse is also optional and controls whether you get the pretty visual feedback. Turning it off reduces CPU use by a bunch, but also makes you no fun.

Do you have any more examples?

Sure! Here's one I made.

If you make one, feel free to send through a pull request adding it to this README. I'd love to have more examples.

I don't like purple. Can I theme it?

If by "theme" you mean edit the CSS file, then... yes! None of the visuals are done in JS so you can just style it using the CSS you know and love.

Wait, you just made up some tags? Are you allowed to do that?

Basically, yes. Think of them as Web Components 0.0.

Your code sucks and/or rocks and I want to improve it

Commits for the commit god! Pull requests for the pull request throne!

tabletone's People

Contributors

sgentle avatar

Watchers

Mike Browne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.