This website requires JavaScript.
Explore
Help
Sign In
honeymoose
/
angular-cn
Watch
1
Star
0
Fork
0
You've already forked angular-cn
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
angular-cn
/
modules
/
@angular
/
core
/
src
/
render.ts
3 lines
99 B
TypeScript
Raw
Normal View
History
Unescape
Escape
refactor: export core APIs from angular2/core This change moves many APIs to the angular2/core export. This change also automatically adds FORM_BINDINGS in the application root injector. BREAKING CHANGE: Many dependencies that were previously exported from specific APIs are now exported from angular2/core. Affected exports, which should now be included from angular2/core include: angular2/forms angular2/di angular2/directives angular2/change_detection angular2/bootstrap (except for dart users) angular2/render angular2/metadata angular2/debug angular2/pipes Closes #3977
2015-09-03 22:01:36 -07:00
// Public API for render
feat(core): speed up view creation via code gen for view factories. BREAKING CHANGE: - Platform pipes can only contain types and arrays of types, but no bindings any more. - When using transformers, platform pipes need to be specified explicitly in the pubspec.yaml via the new config option `platform_pipes`. - `Compiler.compileInHost` now returns a `HostViewFactoryRef` - Component view is not yet created when component constructor is called. -> use `onInit` lifecycle callback to access the view of a component - `ViewRef#setLocal` has been moved to new type `EmbeddedViewRef` - `internalView` is gone, use `EmbeddedViewRef.rootNodes` to access the root nodes of an embedded view - `renderer.setElementProperty`, `..setElementStyle`, `..setElementAttribute` now take a native element instead of an ElementRef - `Renderer` interface now operates on plain native nodes, instead of `RenderElementRef`s or `RenderViewRef`s Closes #5993
2015-12-02 10:35:51 -08:00
export
{
RootRenderer
,
Renderer
,
RenderComponentType
}
from
'./render/api'
;
Reference in New Issue
Copy Permalink