MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / renderView

Method renderView

solidui-web/src/views/html/HtmlSolidView.tsx:83–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 };
82 protected resize(): void {}
83 protected renderView(): React.ReactNode {
84 const { code } = this.getVM().options || {};
85 return (
86 <div ref={this.divRef} className="SolidViewItemContent" data-type="html">
87 {code && (
88 <LazyLoad>
89 <HandleLayer />
90 <iframe
91 importance="low"
92 loading="lazy"
93 className="frame"
94 srcDoc={code}
95 onLoad={this.onIframeMount}
96 />
97 </LazyLoad>
98 )}
99 </div>
100 );
101 }
102}
103
104const LazyLoad: FC = (props) => {

Callers 1

renderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected