PMA.UI Documentation by Pathomation

exports.MetadataSearch

.UI.Components. exports.MetadataSearch

Represents a component that searches in form meta data for slides. It has a visual representation as a text field and also provides programmatic methods to search.

Constructor

new exports.MetadataSearch(context, optionsopt)

Source:
Tutorials:
  • Tutorial: 08-meta-search
Parameters:
Name Type Attributes Default Description
context PMA.UI.Components.Context
options object <optional>
null Configuration options. If not provided, the component has no visual representation.
Properties
Name Type Description
element string | HTMLElement The container in which an input field will be added to function as a search box. It can be either a valid CSS selector or an HTMLElement instance.
Fires:
  • PMA.UI.Components.Events#event:SearchStarted
  • PMA.UI.Components.Events#event:SearchFinished