Flarum (v2.0.0-beta.4)
    Preparing search index...

    The PostsSearchSource finds and displays post search results in the search dropdown.

    Implements

    Index

    Constructors

    Properties

    resource: string = 'posts'

    The resource type that this search source is responsible for.

    results: Map<string, Post[]> = ...

    Methods

    • Get an array of virtual

    • s that list the search results for the given query.

    Parameters

    Returns Vnode<{}, {}>[]