Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fedemotta committed Apr 28, 2015
1 parent 3343ed7 commit 6f69dbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,23 @@ $gridster = Gridster::begin([
'resize'=>['enabled'=>true]
]
]);?>

<?= $gridster->beginWidget([
'data-row'=>"1", 'data-col'=>"1", 'data-sizex'=>"5", 'data-sizey'=>"2",
]);
?>
<header>Some text</header>
The widget content
<?=$gridster->endWidget();?>

<?=$gridster->beginWidget([
'data-row'=>"1", 'data-col'=>"1", 'data-sizex'=>"4", 'data-sizey'=>"1",
]);
?>
<header>Some other text</header>
The other widget content
<?=$gridster->endWidget();?>

<?php
Gridster::end();
```
Expand Down

0 comments on commit 6f69dbb

Please sign in to comment.