Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Bergehall committed Feb 22, 2017
1 parent 30a9d8f commit 0b4d70a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ lazyframe(elements, {

// Callbacks
onLoad: (lazyframe) => console.log(lazyframe),
onAppend: (iframe) => console.log(iframe)
onAppend: (iframe) => console.log(iframe),
onThumbnailLoad: (img) => console.log(img)
})
```
### `apikey`
Expand All @@ -107,6 +108,9 @@ Callback function for when a element is initialized.
### `onAppend`
Callback function for when the iframe is appended to DOM.

### `onThumbnailLoad`
Callback function with the thumbnail url

##Element-specific options

```html
Expand Down

0 comments on commit 0b4d70a

Please sign in to comment.