Class HTMLMenuElement
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The HTMLMenuElement interface provides additional properties (beyond those inherited from the HTMLElement interface) for manipulating a {{HTMLElement("menu")}} element.<menu> is a semantic alternative to the ul element.
[Value("HTMLMenuElement")]
public class HTMLMenuElement : HTMLElement
- Inheritance
-
HTMLMenuElement
- Inherited Members
Remarks
Constructors
HTMLMenuElement()
public HTMLMenuElement()
Properties
Compact
IMPORTANT
Deprecatedcompact property of the HTMLMenuElement interface indicates that spacing between list items should be reduced. The exact handling of the compact attribute is browser-specific. Instead of using this property, consider using CSS line-height instead.
[Value("compact")]
public bool Compact { get; set; }
Property Value
- bool
A boolean.