Skip to content

DataviewInlineApi.pages method

DataviewInlineApi › pages

Retrieves pages based on an optional query, with an optional custom page type.

Signature:

pages(query?: string | undefined): DataArray<CombinedPage<CustomFrontmatter>>

Parameters:

ParameterTypeDescription
query?string | undefinedAn optional string query to filter the pages.

Returns: DataArray<CombinedPage<CustomFrontmatter>>A DataArray of pages matching the query.