feat(dom_renderer): add setBindingDebugInfo method
This is used for setting property binding values as attributes on elements when running in dev mode. This implementation will also serialize binding information to template placeholder comment nodes. Closes #5227
This commit is contained in:
committed by
Victor Savkin
parent
fe1dd77d94
commit
79399e1c51
@@ -300,6 +300,9 @@ export abstract class Renderer {
|
||||
abstract setElementAttribute(location: RenderElementRef, attributeName: string,
|
||||
attributeValue: string);
|
||||
|
||||
abstract setBindingDebugInfo(location: RenderElementRef, propertyName: string,
|
||||
propertyValue: string);
|
||||
|
||||
/**
|
||||
* Sets a (CSS) class on the Element specified via `location`.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user