Skip to main content

content.assist

ContentAssistDialogUtil : d2/sdk/utils/content.assist

Utility to fetch ContentAssist dialog related options

Extends: Object

ContentAssistDialogUtil.getContentAssistConfig(options) ⇒ jQuery.Promise

Get content assist dialog configuration

Kind: static method of ContentAssistDialogUtil
Returns: jQuery.Promise - resolves & invokes ContentAssistConfigCallback on success, rejects otherwise.

ParamTypeDescription
optionsobject

options holder

options.contextContext

Application runtime context. See Context.

ContentAssistDialogUtil.getContentAssistOptions(options) ⇒ jQuery.Promise

Gets and caches the configuration for Content Assist dialog.

Kind: static method of ContentAssistDialogUtil
Returns: jQuery.Promise - resolves & invokes ContentAssistOptionsCallback on success, rejects otherwise.

ParamTypeDescription
optionsobject

options holder

options.contextContext

Application runtime context. See Context.