• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

UI Close Detection

Explorer ,
Dec 06, 2021 Dec 06, 2021

Copy link to clipboard

Copied

Is there any way to detect the closing of the UI without disabling { closeButton: false } and adding a manually close button?

(for example, as onShow function works but in this case onClose)

 
TOPICS
Scripting

Views

123

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guide , Dec 06, 2021 Dec 06, 2021
var w = new Window("dialog");
w.onClose = function () {
    alert("message");
}
w.show();

Votes

Translate

Translate
Adobe
Guide ,
Dec 06, 2021 Dec 06, 2021

Copy link to clipboard

Copied

LATEST
var w = new Window("dialog");
w.onClose = function () {
    alert("message");
}
w.show();

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines