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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
close |
() => void |
Returns
Section titled “Returns”() => void