MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / toString

Method toString

packages/core/ui/styling/style-scope.ts:813–822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

811 }
812
813 toString(): string {
814 const view = this.viewRef.get();
815 if (!view) {
816 Trace.write(`toString() of CssState cannot execute correctly because ".viewRef" is cleared`, Trace.categories.Animation, Trace.messageType.warn);
817
818 return '';
819 }
820
821 return `${view}._cssState`;
822 }
823}
824CssState.prototype._appliedChangeMap = CssState.emptyChangeMap;
825CssState.prototype._appliedAnimations = CssState.emptyAnimationArray;

Callers 1

fromDetectMethod · 0.45

Calls 2

getMethod · 0.65
writeMethod · 0.65

Tested by

no test coverage detected