Skip to content

Instantly share code, notes, and snippets.

@rezoner
Last active February 1, 2016 11:47
Show Gist options
  • Save rezoner/56fcbb98f09a70fb1ce2 to your computer and use it in GitHub Desktop.
Save rezoner/56fcbb98f09a70fb1ce2 to your computer and use it in GitHub Desktop.

TODOS:

  • Image scaling mode: fit, cover, manual
  • Image positioning
  • Image padding
  • Multiple images
  • Multiple borderImages
  • Horizontal scroll and scrollbar
  • Optional scrollbar
  • Optional content scroll
  • Drag & Drop
  • Draggable visual
  • Active droppables visual
  • Active+hovered droppables visual
  • Snap scroll to children
  • Better element constructor
    • add(path, style);
    • add("button.red", { width: 320 });
  • Lazy image loader is there, but there is no option to preload images

FUTURE:

  • Easier usage without playground.js - it now requires providing playground.js formated events and layer (canvasquery) instead of canvas.
  • Text input element
  • Way to automatically create canvas element, insert it, bind events and attach GUI to it in one line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment