Skip to content

Adding some info about event callbacks#674

Open
ijmccallum wants to merge 2 commits into
mikeric:masterfrom
ijmccallum:docs/on-event-update
Open

Adding some info about event callbacks#674
ijmccallum wants to merge 2 commits into
mikeric:masterfrom
ijmccallum:docs/on-event-update

Conversation

@ijmccallum
Copy link
Copy Markdown

This may have been a bit 'my bad' for not really realizing about the second argument passed to event callbacks - would have been super handy if I'd known earlier! But, instead of complaining, thought I'd suggest a little addition!

Forgive me if the technical language isn't spot on.

@benadamstyles
Copy link
Copy Markdown
Collaborator

Thanks for this! @jccazeaux What's the deal with the gh-pages branch now? How should I merge this?

<button rv-on-click="item.destroy">Remove</button>
```

*The callback function is passed 1: an event object and 2: the bound context which will also include named refrences to nested bindings.*
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: references

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants