feat(ivy): improve debugging experience for styles/classes (#33179)
This patch introduces the `printTable()` and `printSources()` methods to `DebugStylingContext` which can be used via the `window.ng.getDebugNode` helpers when debugging an application. PR Close #33179
This commit is contained in:
@ -533,7 +533,7 @@ function getContext(tNode: TNode, isClassBased: boolean): TStylingContext {
|
||||
const hasDirectives = isDirectiveHost(tNode);
|
||||
context = allocTStylingContext(context as StylingMapArray | null, hasDirectives);
|
||||
if (ngDevMode) {
|
||||
attachStylingDebugObject(context as TStylingContext);
|
||||
attachStylingDebugObject(context as TStylingContext, isClassBased);
|
||||
}
|
||||
|
||||
if (isClassBased) {
|
||||
|
Reference in New Issue
Block a user