mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Tweak View#el docs further.
This commit is contained in:
@@ -2605,8 +2605,8 @@ new DocumentRow({
|
||||
<tt>this.el</tt> can be resolved from a DOM selector string or an Element;
|
||||
otherwise it will be created from the view's <tt>tagName</tt>, <tt>className</tt>,
|
||||
<tt>id</tt> and <a href="#View-attributes"><tt>attributes</tt></a> properties.
|
||||
If none are set, <tt>this.el</tt> is an empty <tt>div</tt>. <b>el</b> may also be passed in to
|
||||
the view's constructor on instantiation.
|
||||
If none are set, <tt>this.el</tt> is an empty <tt>div</tt>, which is often just
|
||||
fine. An <b>el</b> reference may also be passed in to the view's constructor.
|
||||
</p>
|
||||
|
||||
<pre class="runnable">
|
||||
|
||||
Reference in New Issue
Block a user