Dart API Referencedart:htmlMenuElement

MenuElement Interface

The HTML menu element (<menu>) represents an unordered list of menu choices, or commands.

There is no limitation to the depth and nesting of lists defined with the <menu> , <ol> and <ul> elements.

Usage note: The <menu> and <ul> both represent an unordered list of items. They differ in the way that the <ul> element only contains items to display while the <menu> element contains interactive items, to act on.
Note: This element was deprecated in HTML4, but reintroduced in HTML5.

Extends

Element

Constructors

MenuElement();

Fields

Code bool compact #

bool compact;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.