Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Class. Svg Viewport View

sprotty / SvgViewportView

Class: SvgViewportView

Defined in: packages/sprotty/src/lib/svg-views.tsx:33

Base interface for the components that turn GModelElements into virtual DOM elements.

Implements

Constructors

Constructor

new SvgViewportView(): SvgViewportView

Returns

SvgViewportView

Methods

render()

render(model, context, args?): VNode

Defined in: packages/sprotty/src/lib/svg-views.tsx:34

Parameters

model

Readonly<ViewportRootElementImpl>

context

RenderingContext

args?

IViewArgs

Returns

VNode

Implementation of

IView.render