diff --git a/index.html b/index.html index fe272ab..12192b6 100644 --- a/index.html +++ b/index.html @@ -130,7 +130,34 @@ -

Coming soon...

+

Basic Usage

+ +

+<div class="grid-stack">
+    <div class="grid-stack-item" 
+        data-gs-x="0" data-gs-y="0" 
+        data-gs-width="4" data-gs-height="2">
+            <div class="grid-stack-item-content"></div>
+    </div>
+    <div class="grid-stack-item" 
+        data-gs-x="4" data-gs-y="0" 
+        data-gs-width="4" data-gs-height="4">
+            <div class="grid-stack-item-content"></div>
+    </div>
+</div>
+
+<script type="text/javascript">
+$(function () {
+    var options = {
+        cell_height: 80,
+        vertical_margin: 10
+    };
+    $('.grid-stack').gridstack(options);
+});
+</script>
+            
+ +

For more samples and documentation please visit https://github.com/troolee/gridstack.js.

Use with knockout.js

@@ -225,7 +252,7 @@ ko.components.register('dashboard-grid', { - +