From bbf586f01ec105809c5e064ebb18c727392bef1d Mon Sep 17 00:00:00 2001 From: David DeSandro Date: Tue, 8 Feb 2011 07:54:42 -0500 Subject: [PATCH] docs : add updateSortData method to Methods --- _posts/docs/2010-12-04-methods.mdown | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/_posts/docs/2010-12-04-methods.mdown b/_posts/docs/2010-12-04-methods.mdown index dc58433..1243251 100644 --- a/_posts/docs/2010-12-04-methods.mdown +++ b/_posts/docs/2010-12-04-methods.mdown @@ -112,4 +112,14 @@ Resets layout properties and lays-out every item element. {% endhighlight %} -Removes specified item elements from Isotope widget and the DOM. \ No newline at end of file +Removes specified item elements from Isotope widget and the DOM. + +## updateSortData + +{% highlight javascript %} + +.isotope( 'updateSortData', $items ) + +{% endhighlight %} + +Updates the sorting data on specified item elements. This method is useful if the data within an item is changed dynamically after Isotope has been initialized.