Home Reference Source
import SearchViewController from '~/controllers/SearchViewController.js'
public class | source

SearchViewController

Extends:

ViewController → SearchViewController

Constructor Summary

Public Constructor
public

Constructs master search view controller.

Member Summary

Public Members
public

Private modal instance.

public

If is open

public

The search template

Method Summary

Public Methods
public

async hide()

Hides if open

public

async present()

Presents if not already

Inherited Summary

From class ViewController
public static

forClass(className: string, predicate: Function, root: HTMLElement)

Creates a view controller directly for all members of a class.

public static

of(elem: string | Element): ViewController

Returns a canolical VC of an element if it exists

Public Constructors

public constructor() source

Constructs master search view controller. See SearchViewController.shared

Override:

ViewController#constructor

Public Members

public modalController: ModalViewController source

Private modal instance. Do not call

public opened: Boolean source

If is open

public searchTemplate: SearchTemplate source

The search template

Public Methods

public async hide() source

Hides if open

public async present() source

Presents if not already