Reference Source
import DiscussionsSearchSource from 'flarum/components/DiscussionsSearchSource.js'
public class | source

DiscussionsSearchSource

Implements:

  • *

The DiscussionsSearchSource finds and displays discussion search results in the search dropdown.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

results: {}

Method Summary

Public Methods
public

search(query: *): *

public

view(query: *): undefined[]

Public Constructors

public constructor() source

Public Members

public results: {} source

Public Methods

Params:

NameTypeAttributeDescription
query *

Return:

*

public view(query: *): undefined[] source

Params:

NameTypeAttributeDescription
query *

Return:

undefined[]