Table of Contents

Class HTMLUListElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HTMLUListElement interface provides special properties (beyond those defined on the regular HTMLElement interface it also has available to it by inheritance) for manipulating unordered list ({{HTMLElement("ul")}}) elements.

[Value("HTMLUListElement")]
public class HTMLUListElement : HTMLElement
Inheritance
HTMLUListElement
Inherited Members

Remarks

-The HTML element implementing this interface: ul.

See also on MDN

Constructors

HTMLUListElement()

public HTMLUListElement()

Properties

Compact

IMPORTANT
Deprecated
The compact property of the HTMLUListElement 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.

Remarks

It reflects the compact attribute of the ul element.

See also on MDN

Type

[Value("type")]
public string Type { get; set; }

Property Value

string