ExportSearch

ExportSearch

new ExportSearch()

See:
  • App.searchV2.ExportSearch

Methods

(static) create()

Factory method

copyExportSearchUrl()

Selects and copies the search url value present in textarea.

destroy()

Destroys this instance of export search toolbar item.

getApi() → {Object}

Public API

Returns:
  • object of api functions
Type
Object

getExportSearchDropHtml(item, drop) → {string}

Returns toolbar item drop raw html text

Parameters:
Name Type Description
item Object

config which is added to toolbar

drop Object

drop element that was added to toolbar, this can be used to register events on drop like open.

Returns:

toolbar item drop raw html text

Type
string

getToolbarItem()

Returns search url item to be added into toolbar

hasValidLoadSearchUrlCallback()

Whether callback function to load search url is defined

hasValidPopupElement()

Whether export search drop popup element is defined

initialize()

Initializes the export search url item

loadSearchUrl()

Loads search url into textarea.

registerDropEvents()

Registers event on drop object.

registerExportSearchPopupElement(popupElement)

Registers event on popup html dom element.

Parameters:
Name Type Description
popupElement Object

dom element representing drop popup.

registerLoadSearchUrlCallback(loadSearchUrlCallback)

Registers load search url callback function on this export search url item.

Parameters:
Name Type Description
loadSearchUrlCallback function