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

Function.Configure Button Handler

sprotty / configureButtonHandler

Function: configureButtonHandler()

configureButtonHandler(context, type, constr): void

Defined in: packages/sprotty/src/features/button/button-handler.ts:46

Utility function to register a button handler for an button type.

Parameters

context

bind

Bind

isBound

IsBound

type

string

constr

ServiceIdentifier<IButtonHandler>

Returns

void