We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodeIndex
1 parent 91f0937 commit b10dce3Copy full SHA for b10dce3
packages/transient-render-engine/src/tree/tree-types.ts
@@ -250,13 +250,8 @@ export interface TNodeShape<T extends TNodeType> {
250
*/
251
readonly parent: TDocument | TBlock | TPhrasing | null;
252
/**
253
- * The position of this element relatively to its parents, before hoisting,
254
- * after collapsing.
255
- *
256
- * @remarks
257
- * "Before hoisting" implies that this index corresponds to the node position
258
- * in the DOM, after removal of empty elements as per whitespace collapsing
259
- * algorithm.
+ * The position of this element relatively to its parents, after hoisting and
+ * collapsing.
260
261
readonly nodeIndex: number;
262
0 commit comments