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

Method toString

packages/core/ui/styling/style/index.ts:97–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 toString() {
98 const view = this.viewRef.get();
99 if (!view) {
100 Trace.write(`toString() of Style cannot execute correctly because ".viewRef" is cleared`, Trace.categories.Animation, Trace.messageType.warn);
101
102 return '';
103 }
104
105 return `${view}.style`;
106 }
107
108 public fontInternal: Font;
109 public iconFontFamily: string;

Callers 15

titleFunction · 0.45
parseFunction · 0.45
toShortStringFunction · 0.45
toStringFunction · 0.45
convertToStringCommonFunction · 0.45
computeFontCacheKeyFunction · 0.45
loadFontFromFileFunction · 0.45
convertToStringCommonFunction · 0.45
computeFontCacheKeyFunction · 0.45

Calls 2

getMethod · 0.65
writeMethod · 0.65

Tested by

no test coverage detected