Getting a checkbox status from a menu
If your menu contains checkbox items, your app can determine whether they are currently checked or unchecked.
One way to do this is by querying the Active Menus state and inspecting the items array for the menu.
You can also detect checkbox changes by listening for the Menu Item Clicked event. When a checkbox item is checked, it will update the Clicked Menu Checkbox Checked state.
<figure><img src="https://909455594-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FC8kwY8yODXmNxAtaN0Ej%2Fuploads%2FcvGByg4BejKxt1vOujJ8%2FcheckboxChecked.gif?alt=media&token=8be6f7b3-a498-4edc-8b61-2443e0cf200a" alt=""><figcaption></figcaption></figure>