feat(ivy): support property bindings and interpolations in DebugElement (#28355)

DebugElement.properties should contain a map of element
property names to element property values, with entries
for both normal property bindings and host bindings.

This commit adds support for property bindings in
DebugElement.properties (including interpolations).

PR Close #28355
This commit is contained in:
Kara Erickson
2019-01-24 08:53:00 -08:00
committed by Jason Aden
parent 46aec4a58f
commit bf97d3b73e
7 changed files with 331 additions and 48 deletions

View File

@ -169,6 +169,18 @@ export interface TNode {
*/
directiveEnd: number;
/**
* Stores the first index where property binding metadata is stored for
* this node.
*/
propertyMetadataStartIndex: number;
/**
* Stores the exclusive final index where property binding metadata is
* stored for this node.
*/
propertyMetadataEndIndex: number;
/**
* Stores if Node isComponent, isProjected, hasContentQuery and hasClassInput
*/
@ -476,7 +488,6 @@ export type PropertyAliases = {
*/
export type PropertyAliasValue = (number | string)[];
/**
* This array contains information about input properties that
* need to be set once from attribute data. It's ordered by