From 43176d96f96445edb2cb179cfc651cbb7e3ff7ad Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Fri, 17 Dec 2010 13:00:37 -0500 Subject: [PATCH] Expanding View#el documentation. --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 41827d3c..af0341b8 100644 --- a/index.html +++ b/index.html @@ -1662,6 +1662,10 @@ new DocumentRow({

this.el is created from the view's tagName, className, and id properties, if specified. If not, el is an empty div. + You may assign el directly in your view's + initialize function, if the view is being + created for an element that already exists in the DOM. Make sure to assign + a real DOM element, and not a jQuery object.