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

Function.Configure View

sprotty / configureView

Function: configureView()

configureView(context, type, constr, isOverride?): void

Defined in: packages/sprotty/src/base/views/view.tsx:146

Utility function to register a view for a model element type.

Parameters

context

bind

Bind

isBound

IsBound

type

string

constr

ServiceIdentifier<IView<{ }>>

isOverride?

boolean

Returns

void