편집

다음을 통해 공유


addOnResultOpened (Client API reference)

Adds an event handler to the OnResultOpened event.

Control types supported

knowledge base search control

Syntax

var kbSearchControl = formContext.getControl("<name>");
kbSearchControl.addOnResultOpened(myFunction);

Parameters

Name Type Required Description
myFunction Function Yes The function to add to the OnResultOpened event. The execution context is automatically passed as the first parameter to this function.

removeOnResultOpened