diff -r 000000000000 -r d970ebf37754 enmi12/glossaire/_posts/demos/2011-01-02-adding-items.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/enmi12/glossaire/_posts/demos/2011-01-02-adding-items.html Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,61 @@ +--- +title: Adding items +layout: default +category: demos +--- + +
+

The insert method will append, add items to the widget, filter, sort, and then layout all items

+

The appended method adds items to the widget, and then lays out only the new items.

+

The reloadItems method re-collects all items in their current order in the DOM, which can be useful for prepending items.

+

See docs on adding items.

+
+ +
+ +
+ +
+ {% for elem_number in site.best_of_order :limit 10 %} + {% assign element = site.elements[elem_number] %} + {% include element-partial.html %} + {% endfor %} +
+ + + + + \ No newline at end of file