From 1812366c0fbb00f67693efa916752441eb3be8f3 Mon Sep 17 00:00:00 2001 From: David Morse Date: Thu, 4 Jun 2015 22:09:17 -0600 Subject: [PATCH] feature: Add Chaos demo to test widget placement. --- demos/chaosWidget.html | 90 ++++++++++++++++++++++++++++++++++++++++++ demos/index.html | 1 + 2 files changed, 91 insertions(+) create mode 100644 demos/chaosWidget.html diff --git a/demos/chaosWidget.html b/demos/chaosWidget.html new file mode 100644 index 000000000..3a5793a84 --- /dev/null +++ b/demos/chaosWidget.html @@ -0,0 +1,90 @@ + + + + Demo » Resize » gridster.js + + + + + + + + + +

Resize

+ +

As hommage to Netflix's Chaos Monkey, this demo page is for testing. It attempts to insert a widget at a random location to ensure the overlap deconfliction locic works.

+ +
+ + +
+ +
+ + + + + + + + + + + +
+ + + + + + + diff --git a/demos/index.html b/demos/index.html index f5dfd2559..23feab475 100644 --- a/demos/index.html +++ b/demos/index.html @@ -18,6 +18,7 @@
  • Build grid from serialize
  • Multiple gridster instances on the same page
  • Resizable widgets
  • +
  • Chaos Widgets
  • Resizable widgets with constraints
  • Serialize widgets positions
  • Using drag callbacks