Gets the table of contents at the current input position or the table of contents with the specified identifier.
<void> TableOfContentsCollection.getItem(<RequestTableOfContentsCallback> callback, [<ErrorCallback> errorCallback], [<number> id])
Parameter | Description |
---|---|
callback | Receives the requested table of contents or null if there is no table of contents at the current input position / with the specified identifier. |
error |
Optional. Is called when the operation failed with an error. |
id | Optional. The table of contents' identifier. |