Section

App.searchV2. Section

This module renders search result in a section

Constructor

new Section(input)

See:

To create an instance, use factory method App.searchV2.createSection

Parameters:
Name Type Description
input object

input

Methods

close()

closeOpenContextMenus()

destroy()

initializeSectionUIs(result)

Initializes section UIs

Parameters:
Name Type Description
result object

result data

isOpen() → {boolean}

Returns:
Type
boolean

off(event, handler)

Parameters:
Name Type Description
event
handler

on()

Events

open()

render(result)

Parameters:
Name Type Description
result

toggleVisibility()