HTML <dialog> Tag
ဥပမာ
<dialog> ဒြပ်စင်ကို အသုံးပြုခြင်း-
<dialog open>This is an open dialog window</dialog>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
tag သည် <dialog>
dialog box သို့မဟုတ် subwindow တစ်ခုကို သတ်မှတ်သည်။
ဒြပ်စင် သည် <dialog>
ဝဘ်စာမျက်နှာပေါ်တွင် ပေါ့ပ်အပ် ဒိုင်ယာလော့ခ်များနှင့် ပုံစံများကို ဖန်တီးရန် လွယ်ကူစေသည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် ဒြပ်စင်ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးသည်။
Element | |||||
---|---|---|---|---|---|
<dialog> | 37.0 | 79.0 | 53.0* | Not supported | 24.0 |
* ပုံသေအားဖြင့် မပံ့ပိုးသော်လည်း about:config (dom.dialog_element.enabled to true) တွင် ဖွင့်နိုင်သည်။
ဂုဏ်တော်
Attribute | Value | Description |
---|---|---|
open | open | Specifies that the dialog element is active and that the user can interact with it |
ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ
<dialog>
tag သည် HTML တွင် Global Attributes ကို ပံ့ပိုး ပေးပါသည်။
ဖြစ်ရပ်ဂုဏ်တော်များ
<dialog>
tag သည် HTML ရှိ Event Attributes များကိုလည်း ပံ့ပိုး ပေးပါသည် ။
ဆက်စပ်စာမျက်နှာများ
HTML DOM ရည်ညွှန်း- Dialog Object