Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is not Baseline because it does not work in some of the most widely-used browsers.
closedBy は HTMLDialogElement インターフェイスのプロパティで、関連付けられた <dialog> 要素を閉じるために使用できるユーザー操作の種類を示します。これはダイアログの closedby 属性値を設定したり返したりします。
文字列です。設定可能な値は次の通りです。
anyダイアログは、簡単に閉じるユーザー操作、プラットフォーム特有のユーザー操作、または開発者が指定した仕組みで閉じることができます。
closerequestダイアログは、プラットフォーム特有のユーザー操作、または開発者が指定した仕組みで閉じることができます。
noneダイアログは、開発者が指定した仕組みでのみ閉じることができます。
| HTML # dom-dialog-closedby |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年9月20日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.