diff --git a/README.md b/README.md index 49b08ee..724ad50 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,17 @@ Simply add the script after jQuery ### Options +**Methods** * `$(grid).gridLayout('refresh')` will recalculate existing initiated grid. Useful when for example you have set a new height with JavaScript on the grid. - $(grid).gridLayout({ - // Resize event, triggers when window resize with 100ms delay to increase performance - 'resize' : function() {} - }) +**Events** +``` +$(grid).gridLayout({ + // Resize event, triggers when window resize with 100ms delay to increase performance + 'resize' : function() {} +}) +``` + ## Browser support @@ -41,4 +46,4 @@ Simply add the script after jQuery -ms-grid-column: 1; -ms-grid-row: 1; -ms-grid-column-span: 1; - -ms-grid-row-span: 1; \ No newline at end of file + -ms-grid-row-span: 1;