angular2
Version:
Angular 2 - a web framework for modern web apps
32 lines (31 loc) • 1.09 kB
JavaScript
export class RenderComponentType {
constructor(id, encapsulation, styles) {
this.id = id;
this.encapsulation = encapsulation;
this.styles = styles;
}
}
export class RenderDebugInfo {
constructor(injector, component, providerTokens, locals) {
this.injector = injector;
this.component = component;
this.providerTokens = providerTokens;
this.locals = locals;
}
}
export class Renderer {
}
/**
* Injectable service that provides a low-level interface for modifying the UI.
*
* Use this service to bypass Angular's templating and make custom UI changes that can't be
* expressed declaratively. For example if you need to set a property or an attribute whose name is
* not statically known, use {@link #setElementProperty} or {@link #setElementAttribute}
* respectively.
*
* If you are implementing a custom renderer, you must implement this interface.
*
* The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`.
*/
export class RootRenderer {
}