Constructor
new SearchResultPanels()
Extends
Members
children :Array
Array of child components
Type:
- Array
- Overrides:
- Default Value:
- []
- Source:
parent :Component
The parent component
Type:
- Component
- Overrides:
- Default Value:
- null
- Source:
Methods
(static) getPanelActive()
Get the active panel of Search panels
(static) isPanelActive()
Return whether or not a search panel is activated
_callAllBindEvents()
Bind events on the component (include all child-components)
- Overrides:
- Source:
_callAllInit()
Initialize the component (include all child-components)
- Overrides:
- Source:
_callAllRender()
Render the component (include all child-components)
- Overrides:
- Source:
addComponent(childComponent)
Add the child component into a component
Parameters:
Name | Type | Description |
---|---|---|
childComponent |
Object | The child component |
- Overrides:
- Source:
afterBindEvents()
After bind evnets on the component
- Overrides:
- Source:
afterInit()
After initialize callback
- Overrides:
- Source:
afterRender()
After reder component callback
- Overrides:
- Source:
beforeBindEvents()
Before bind events on component callback
- Overrides:
- Source:
beforeInit()
Before initialize callback
- Overrides:
- Source:
beforeRender()
Before reder component callback
- Overrides:
- Source:
bindEvents()
Bind events on the component
- Overrides:
- Source:
hidePanelCollection()
Hide the collections panel content
hidePanelPage()
Hide the pages panel content
hidePanelProduct()
Hide the products panel content
init()
Initialize the search result panels component
- Overrides:
- Source:
isBindEvents()
Returns whether or not binding the events on a component
- Overrides:
- Source:
isLoopThroughChild()
Returns whether or not the childs of a component is refresh
- Overrides:
- Source:
isRender()
Returns whether or not the rebots meta tag is rendered
- Overrides:
- Source:
refresh()
Refresh component
- Overrides:
- Source:
removeComponent(childComponent)
Remove a child component of a component
Parameters:
Name | Type | Description |
---|---|---|
childComponent |
Object | The child component |
- Overrides:
- Source:
render()
Add meta[content="noindex,nofollow"] to head tag if the pf_xxx params is a part of a URL]
- Overrides:
- Source:
setData(data, eventType)
Set data fpr Search result panel
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The filter result data |
eventType |
String | The event type of search (init, page, sort, etc) |
showPanelCollection()
Show the collections panel content
showPanelPage()
Show the pages panel content
showPanelProduct()
Hide the Products panel content