[]
• new OutlineInfo(model
, start
, end
, level
)
Represents the outline (range group) information.
Name | Type | Description |
---|---|---|
model |
Outline |
The owner of the outline. |
start |
number |
The start index of the outline. |
end |
number |
The end index of the outline. |
level |
number |
The level of the outline. |
• children: any
[]
The children of the group.
• end: number
The end index of the group.
• level: number
The level of the group.
• model: Outline
The owner of the group.
• parent: OutlineInfo
The parent of the group.
• start: number
The start index of the group.
▸ addChild(child
): void
Adds the child.
Name | Type | Description |
---|---|---|
child |
Object |
The child. |
void
▸ contains(index
): boolean
Compares this instance to a specified OutlineInfo object and returns an indication of their relative values.
Name | Type | Description |
---|---|---|
index |
number |
The index of the group item. |
boolean
▸ state(value?
): OutlineState
Gets or sets the state of this outline (range group).
Name | Type |
---|---|
value? |
OutlineState |
The state of this outline (range group).