Table of Contents

Class HTMLLIElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HTMLLIElement interface exposes specific properties and methods (beyond those defined by regular HTMLElement interface it also has available to it by inheritance) for manipulating list elements.

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

Remarks

-The HTML element implementing this interface: li

See also on MDN

Constructors

HTMLLIElement()

public HTMLLIElement()

Properties

Type

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

Property Value

string

Value

The value property of the HTMLLIElement interface indicates the ordinal position of the list element inside a given ol. It can be smaller than 0. If the li element is not a child of an ol element, the property has no meaning.

[Value("value")]
public long Value { get; set; }

Property Value

long

An integer.

Remarks

It reflects the value attribute of the corresponding li element. If the <li> element does not have a value content attribute specified, then this property returns 0 by default even when the element may have a default serially-assigned ordinal value when rendered.

See also on MDN