MCPcopy Index your code
hub / github.com/markmap/markmap / getStyleContent

Method getStyleContent

packages/markmap-view/src/view.ts:109–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 getStyleContent(): string {
110 const { style } = this.options;
111 const { id } = this.state;
112 const styleText = typeof style === 'function' ? style(id) : '';
113 return [this.options.embedGlobalCSS && css, styleText]
114 .filter(Boolean)
115 .join('\n');
116 }
117
118 updateStyle(): void {
119 this.svg.attr(

Callers 1

updateStyleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected