Skip to main content

ListItem

Classes

ListItem

Constructors

Constructor
new ListItem(): ListItem;
Returns

ListItem

Properties

content
content: InlineElement[] = [];
nestedList
nestedList:
| OrderedList
| UnorderedList;
style
style: ListItemStyle;

ListItemStyle

Extends

Constructors

Constructor
new ListItemStyle(): ListItemStyle;
Returns

ListItemStyle

Inherited from

ListStyle.constructor

Properties

alignment?
optional alignment?: ParagraphAlignment;
firstLineIndent?
optional firstLineIndent?: NumericValue;
Inherited from

ListStyle.firstLineIndent

fontSize
fontSize: NumericValue;
leftIndent?
optional leftIndent?: NumericValue;
Inherited from

ListStyle.leftIndent

levelIndent?
optional levelIndent?: NumericValue;
Inherited from

ListStyle.levelIndent

start?
optional start?: number;
tabPosition?
optional tabPosition?: number;
Inherited from

ListStyle.tabPosition

textIndent?
optional textIndent?: NumericValue;
Inherited from

ListStyle.textIndent

Methods

isMatch()
isMatch(other): boolean;
Parameters
ParameterType
otherListStyle
Returns

boolean

Inherited from

ListStyle.isMatch

Was this page helpful?