From 15a38fffb6b109b679be142a115df6be41c6f2a3 Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Tue, 8 Feb 2011 07:52:13 -0500 Subject: [PATCH] docs : Methods - $content -> $items. use 'item elements' in copy --- _posts/docs/2010-12-04-methods.mdown | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/_posts/docs/2010-12-04-methods.mdown b/_posts/docs/2010-12-04-methods.mdown index 32d9d63..dc58433 100644 --- a/_posts/docs/2010-12-04-methods.mdown +++ b/_posts/docs/2010-12-04-methods.mdown @@ -28,11 +28,11 @@ $('#container').isotope( 'methodName', [optionalParameters] ) {% highlight javascript %} -.isotope( 'addItems', $content, callback ) +.isotope( 'addItems', $items, callback ) {% endhighlight %} -Adds elements to the pool of item elements of the container, but does sort, filter or layout. See [Adding items](adding-items.html) for more details. The argument within the callback is the group of elements that were added. +Adds item elements to the pool of item elements of the container, but does sort, filter or layout. See [Adding items](adding-items.html) for more details. The argument within the callback is the group of elements that were added. [**See Demo: Adding items**](../demos/adding-items.html) @@ -40,11 +40,11 @@ Adds elements to the pool of item elements of the container, but does sort, filt {% highlight javascript %} -.isotope( 'appended', $content, callback ) +.isotope( 'appended', $items, callback ) {% endhighlight %} -Adds elements via `addItems` method, then triggers `layout` just for those new elements. Useful for Infinite Scroll. See [Adding items](adding-items.html) for more details. +Adds item elements via `addItems` method, then triggers `layout` just for those new elements. Useful for Infinite Scroll. See [Adding items](adding-items.html) for more details. [**See Demo: Adding items**](../demos/adding-items.html) @@ -62,11 +62,11 @@ Removes Isotope functionality completely. Returns element back to pre-init state {% highlight javascript %} -.isotope( 'insert', $content, callback ) +.isotope( 'insert', $items, callback ) {% endhighlight %} -Appends elements to container, adds items to via `addItems` method, and then triggers `reLayout` method so new elements are properly filtered, sorted and laid-out. See [Adding items](adding-items.html) for more details. +Appends items elements to container, adds items to via `addItems` method, and then triggers `reLayout` method so new elements are properly filtered, sorted and laid-out. See [Adding items](adding-items.html) for more details. [**See Demo: Adding items**](../demos/adding-items.html). @@ -74,11 +74,11 @@ Appends elements to container, adds items to via `addItems` method, and then tri {% highlight javascript %} -.isotope( 'layout', $content, callback ) +.isotope( 'layout', $items, callback ) {% endhighlight %} -Positions specified elements in layout. +Positions specified item elements in layout. `layout` will only position specified elements, and those elements will be positioned at the end of layout. Whereas `reLayout` will position all elements in the Isotope widget. @@ -108,8 +108,8 @@ Resets layout properties and lays-out every item element. {% highlight javascript %} -.isotope( 'remove', $content ) +.isotope( 'remove', $items ) {% endhighlight %} -Removes specified elements from Isotope widget and the DOM. \ No newline at end of file +Removes specified item elements from Isotope widget and the DOM. \ No newline at end of file