Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge the webtorrent-www API docs (for #507) #682

Merged
merged 5 commits into from Mar 16, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

docs formatting

  • Loading branch information
feross committed Mar 16, 2016
commit 8438bc989c6a054ffaf3781cd668d7f7a2f88271
@@ -305,7 +305,7 @@ See the `bittorrent-protocol`
[extension api docs](https://github.com/feross/bittorrent-protocol#extension-api) for more
information on how to define a protocol extension.
### file api
## File API
### `file.name`
@@ -387,7 +387,7 @@ file.appendTo('#containerElement', function (err, elem) {
})
```
#### `file.renderTo(elem, [function callback (err, elem) {}])`
### `file.renderTo(elem, [function callback (err, elem) {}])`
Like `file.appendTo` but renders directly into given element (or CSS selector).
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.