Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d8002ec

Browse files
committed
some ready changes
1 parent ddeec2c commit d8002ec

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
gridstack.js
22
============
33

4-
gridstack.js is a jQuery plugin for widget layout. This is drag-and-drop multi-column grid. It allows you to build draggable responsive bootstrap v3 friendly layouts.
4+
gridstack.js is a jQuery plugin for widget layout. This is drag-and-drop multi-column grid. It allows you to build
5+
draggable responsive bootstrap v3 friendly layouts. It also works great with [knockout.js](http://knockoutjs.com)
56

67
Inspired by [gridster.js](http://gridster.net). Built with love.
78

@@ -52,7 +53,11 @@ ko.components.register('dashboard-grid', {
5253
template: [
5354
'<div class="grid-stack">',
5455
' <!-- ko foreach: widgets, afterRender: afterAddWidget -->',
55-
' <div class="grid-stack-item" data-bind="attr: {\'data-gs-x\': x, \'data-gs-y\': y, \'data-gs-width\': width, \'data-gs-height\': height}"><span data-bind="text: $index"></span></div>',
56+
' <div class="grid-stack-item" data-bind="attr: {',
57+
' \'data-gs-x\': x, \'data-gs-y\': y,',
58+
' \'data-gs-width\': width, \'data-gs-height\': height}">',
59+
' <span data-bind="text: $index"></span>',
60+
' </div>',
5661
' <!-- /ko -->',
5762
'</div>'
5863
].join('\n')

0 commit comments

Comments
 (0)