Firefox Tomorrow

web api interface

HTMLMenuElement

View on MDN ↗

The HTMLMenuElement interface provides additional properties (beyond those inherited from the HTMLElement interface) for manipulating a <menu> element. <menu> is a semantic alternative to the <ul> element.

Instance properties

Inherits properties from its parent, HTMLElement, and its ancestors.

  • compact Deprecated
    • : A boolean determining if the menu displays compactly.

Instance methods

Inherits methods from its parent, HTMLElement, and its ancestors.

HTMLMenuElement doesn’t implement specific methods.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.