Open this page in the API Guide

CommandMenu.element Property

Gets the menu element if created.
 

Property Value

Type: HTMLElement
Value may be null.