Skip to content

Commit

Permalink
Merge pull request #107 from rstacruz/patch-3
Browse files Browse the repository at this point in the history
Update ractive.render() (Ref #71) (Ref #91)
  • Loading branch information
jonvuri committed Jul 15, 2014
2 parents bb17af8 + 6a64939 commit 9099307
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/0.5/ractive.render().md.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@
title: ractive.render()
---

This method will throw an error if you call it! It exists so that components can override the standard render logic with their own (e.g. for delegating to external libraries, or rendering to a canvas - note that this is not well supported as of version 0.4.0).
Renders the component into a DOM element.

> ### ractive.render( target )

> > #### **target** *`Node`* or *`String`* or *`jQuery`* (see {{{createLink 'Valid selectors'}}})
> > The DOM element to render to

0 comments on commit 9099307

Please sign in to comment.