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

Class. Close Popup Action Handler

sprotty / ClosePopupActionHandler

Class: ClosePopupActionHandler

Defined in: packages/sprotty/src/features/hover/hover.ts:306

An action handler accepts an action and reacts to it by returning either a command to be executed, or another action to be dispatched.

Implements

Constructors

Constructor

new ClosePopupActionHandler(): ClosePopupActionHandler

Returns

ClosePopupActionHandler

Properties

popupOpen

protected popupOpen: boolean = false

Defined in: packages/sprotty/src/features/hover/hover.ts:307

Methods

handle()

handle(action): void | Action | ICommand

Defined in: packages/sprotty/src/features/hover/hover.ts:309

Parameters

action

Action

Returns

void | Action | ICommand

Implementation of

IActionHandler.handle