Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

takeEscape

takeEscape(close): () => void

Has Escape close a panel, close, before it opens the menu, while the menu is shut, as World of Warcraft’s Escape closes the open window first: the panel taken last closes first, and the next Escape opens the menu once none is taken. Call it while the panel shows; the return gives Escape back. DialogPanel takes it while a conversation is open.

Parameter Type
close () => void

() => void