The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/store > findNextNode
findNextNode() function
Finds the next node in a focus tree in focus order
Signature:export declare function findNextNode(root: Node, from: string): string | null
Parameters
Parameter | Type | Description |
---|---|---|
root | Node | focus tree |
from | string | id of the current document |
string | null
the id of the next document if it exists (null
otherwise)