From 6a649393c584380250ada5ad2e8ffb2233bdd9c6 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Tue, 15 Jul 2014 18:26:16 +0800 Subject: [PATCH] Update ractive.render().md.hbs --- docs/0.5/ractive.render().md.hbs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/0.5/ractive.render().md.hbs b/docs/0.5/ractive.render().md.hbs index 04588fb..46f355d 100644 --- a/docs/0.5/ractive.render().md.hbs +++ b/docs/0.5/ractive.render().md.hbs @@ -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