HTML <menuite> မှာ Attribute လို့ ရိုက် ထည့်ပါ။
ဥပမာ
အမျိုးအစား "command" ၏ <menuite> ဒြပ်စင်တစ်ခု-
<menu>
<menuitem type="command" label="Save" onclick="save()">Save</menuitem>
</menu>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
အမျိုးအစား attribute သည် command/menu item အမျိုးအစားကို သတ်မှတ်သည်။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
type | Not supported | Not supported | Not supported | Not supported | Not supported |
အထားအသို
<menuitem type="command|checkbox|radio">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
command | Default. Specifies a normal command with an action |
checkbox | Specifies a command that can be toggled using a checkbox |
radio | Specifies a command that can be toggled using a radio button |
❮ HTML <menuite> တဂ်