Add negative margin to the List item
Apply the list style type
the vList that receives the style
the list item index
Change list type of this item
The target list type to change to
Check if a given node is contained by this list item
The node to check
Get the levels of this list item.
Get type of current list item
Get the Start Number of the new List
Get DOM node of this list item
Indent this item If this is not an list item, it will be no op
Check if this item is a dummy item. A dummy item is also represented by LI tag, but it won't render a bullet (for Unordered list) or a number (for Ordered list) normally it has CSS style display set to a value other than "list-item"
Outdent this item If this item is already not an list item, it will be no op
Whether prevent the list item to be removed for the listItem by default false
Set whether the item is a dummy item
Whether the item is a dummy item
Set the start Number of the new list
Write the change result back into DOM
current stack of list elements
Original list root element. It will be reused when write back if possible
Optional - defaults to false. If true, only make sure the direct parent of this list matches the list types when writing back.
Generated using TypeDoc
!!! Never directly create instance of this class. It should be created within VList class !!!
Represent a list item.
A list item is normally wrapped using a LI tag. But this class is only a logical item, it can be a LI tag, or another other type of node which means it is actually not a list item. That can happen after we do "outdent" on a 1-level list item, then it becomes not a list item.