Window closed property
- পূর্ববর্তী পৃষ্ঠা close()
- পরবর্তী পৃষ্ঠা confirm()
- একটি স্তর উপরে Window অবজেক্ট
Definition and usage
If the window is closed then closed
Properties return true
.
closed
Properties are read-only.
আরও দেখুন:
উদাহরণ
Check if the window is closed function:
function checkWin() { if (!myWindow) { text = "It has never been opened!"; } else { if (myWindow.closed) { text = "It is closed."; } else { text = "It is open."; } } }
বিন্যাস
window.closed
ফলাফল
ধরন | বর্ণনা |
---|---|
বুল মান | যদি উইন্ডো বন্ধ হয়েছে, তবে true, না তবে false |
ব্রাউজার সমর্থন
সমস্ত ব্রাউজারগুলি সমর্থন করে window.closed
:
চ্রোম | আইই | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
---|---|---|---|---|---|
চ্রোম | আইই | এজ | ফায়ারফক্স | স্যাফারি | ওপেরা |
সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন | সমর্থন |
- পূর্ববর্তী পৃষ্ঠা close()
- পরবর্তী পৃষ্ঠা confirm()
- একটি স্তর উপরে Window অবজেক্ট