Skip to content

Packages  ›  trotsky  ›  PostMixins  ›  thread

PostMixins.thread() method

Appends a step to retrieve the full thread of the current post.

Signature:

typescript
thread(options?: Partial<StepPostThreadQueryParams>): StepPostThread<this>;

Parameters

Parameter

Type

Description

options

Partial<StepPostThreadQueryParams>

(Optional) Optional parameters for thread depth and parent height.

Returns:

StepPostThread<this>

The appended StepPostThread instance.