Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ An object to configure the properties of spectragram:
| **max** | No | *Number* | `25` | A number between 1 and 25 of photos to show. |
| **size** | No | *String* | `large` | The size of the photos. 'small', 'medium' or 'large'. |
| **wrapEachWith** | No | *String* | `'<li></li>'` | The HTML tag to wrap every result. |
| **complete** | No | *Function* | `null` | A callback function to execute after the display of the photos. |
| **complete** | No | *Function* | `null` | A callback function to execute after the display of the photos. The function takes one argument - the `spectragram` object that called this function. |

### Example

Expand All @@ -99,7 +99,7 @@ jQuery.fn.spectragram.accessData = {
};

$('ul').spectragram({
complete : myCallbackFunc(),
complete : myCallbackFunc,
max: 4,
size: "medium",
wrapEachWith: "<li></li>"
Expand Down