2015-04-20 13:57:43 -07:00
2015-04-22 08:06:51 -07:00
p.location-badge.
2015-04-23 08:27:36 -07:00
exported from <a href="/angular2/view.html">angular2/view</a>
2015-04-20 13:57:43 -07:00
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/core/compiler/view_container.js#L12">angular2/src/core/compiler/view_container.js (line 12)</a>
:markdown
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(parentView: viewModule.AppView, defaultProtoView: viewModule.AppProtoView, elementInjector: eiModule.ElementInjector)
:markdown
.l-sub-section
h3 clear
pre.prettyprint
code.
clear()
:markdown
.l-sub-section
h3 create
pre.prettyprint
code.
2015-04-21 23:34:30 -07:00
create(atIndex:number=-1, protoView:viewModule.AppProtoView = null, injector:Injector = null)
2015-04-20 13:57:43 -07:00
:markdown
.l-sub-section
h3 defaultProtoView
:markdown
.l-sub-section
h3 detach
pre.prettyprint
code.
2015-04-21 23:34:30 -07:00
detach(atIndex:number=-1)
2015-04-20 13:57:43 -07:00
:markdown
The method can be used together with insert to implement a view move, i.e.
moving the dom nodes while the directives in the view stay intact.
.l-sub-section
h3 elementInjector
:markdown
.l-sub-section
h3 get
pre.prettyprint
code.
get(index: number)
:markdown
.l-sub-section
h3 getRender
pre.prettyprint
code.
getRender()
:markdown
.l-sub-section
h3 hydrated
pre.prettyprint
code.
hydrated()
2015-04-21 23:34:30 -07:00
:markdown
2015-04-20 13:57:43 -07:00
2015-04-21 23:34:30 -07:00
.l-sub-section
h3 indexOf
pre.prettyprint
code.
indexOf(view:viewModule.AppView)
2015-04-20 13:57:43 -07:00
:markdown
.l-sub-section
h3 insert
pre.prettyprint
code.
2015-04-21 23:34:30 -07:00
insert(view:viewModule.AppView, atIndex:number=-1)
2015-04-20 13:57:43 -07:00
:markdown
.l-sub-section
h3 internalClearWithoutRender
pre.prettyprint
code.
internalClearWithoutRender()
:markdown
.l-sub-section
h3 length
:markdown
.l-sub-section
h3 parentView
:markdown
.l-sub-section
h3 remove
pre.prettyprint
code.
2015-04-21 23:34:30 -07:00
remove(atIndex:number=-1)
2015-04-20 13:57:43 -07:00
:markdown