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 @@ -126,15 +126,15 @@ Provide a callback that is run when the embed is loaded.
Provide a callback that is run whenever the embed's URL changes.

```js
<Embed source={ `console.log('Hello, world!')` } onLoad={ this.alertURLChanged.bind(this) } />
<Embed source={ `console.log('Hello, world!')` } onURLChanged={ this.alertURLChanged.bind(this) } />
```

### onEvaluate : function

Provide a callback that is run whenever the embed is evaluated.

```js
<Embed source={ `console.log('Hello, world!')` } onLoad={ this.alertEvaluated.bind(this) } />
<Embed source={ `console.log('Hello, world!')` } onEvaluate={ this.alertEvaluated.bind(this) } />
```

## Methods
Expand Down