Added test file

This commit is contained in:
Vinayak Garg
2014-11-05 15:18:14 +05:30
parent b414519026
commit e9fa156a9c
+24
View File
@@ -0,0 +1,24 @@
/// <reference path="../jquery/jquery.d.ts"/>
/// <reference path="jquery.rowGrid.d.ts"/>
/*
* Testing different options
*/
var options = {
minMargin: 10,
maxMargin: 35,
itemSelector: ".item"
};
$(".container").rowGrid(options);
/*
* Test endless scrolling
*/
// append new items
$(".container").append("<div class='item'><img src='http://placehold.it/310x200' /></div>");
// arrange appended items
$(".container").rowGrid("appended");