Jump to: navigation, search

Configuration

Description

Search reads its configuration from the subnode of the KnowledgeCenterService configuration namespace '_genesys.widgets.knowledgecenter.search'.

Example

window._genesys.widgets.knowledgecenter.search = {SearchButton: {

		enabled: true,
		template: <div class='cx-icon' data-icon='search'></div>,
		effect: 'fade',
		openDelay: 1000,
		effectDuration: 300
	}
};

Options

Name Type Description Default Required
SearchButton.enabled boolean Enable/disable search button on screen.


Note: In case of running Widgets in lazy load mode, this option requires Search plugin to be pre-loaded
false
SearchButton.template string Custom HTML string template for search button.
<div class='cx-widget cx-search-button cx-side-button' data-message='SearchButton' data-gcb-service-node='true'><span class='cx-icon' data-icon='search'></span><span class='i18n cx-search-button-label' data-message='SearchButton'></span>
SearchButton.effect string Type of animation effect when revealing chat button. 'slide' or 'fade'. fade
SearchButton.openDelay number Number of milliseconds before displaying chat button on screen. 1000
SearchButton.effectDuration number Length of animation effect in milliseconds 300

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on July 27, 2018, at 09:14.