Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmoli committed Jan 26, 2016
2 parents fbc811b + e8c6f86 commit 28c8581
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ See the `data-collection-id` attribute in the 1st line? Set that to _your_ Climb
Once that's on the page, you'll probably want to change how it looks. You can do this with CSS.
Contact [support@climb.social](mailto:support@climb.social) if you're stuck.

### Triggering JavaScript

This library includes a hook for you to use when you want something to happen when the content updates.

Bind a function to `window.Climb.onUpdate` and it will be fired when the content changed:

window.Climb = {
onUpdate: function() {
console.log('Climb.social update');
}
}


### React components

This project also exposes some components for you to use in your existing React projects.
Expand Down

0 comments on commit 28c8581

Please sign in to comment.