Skip to content

trigger (knowledge graph)

Description

Define how Knowledge Graph widget will be triggered on a webpage:

  • button - Trigger box display on clicking element with attached Knowledge Graph widget to it
  • fixed - Display box inside element with attached Knowledge Graph widget to it
  • full - Display box in full mode after Knowledge Graph data has been loaded

Default value

trigger: 'button'

Examples

Display box on button click with assigned CSS class 'trigger-btn'

jQuery('.trigger-btn').knowledgeGraph({
   ...
  trigger: 'button'
});

Display box in right side column on a webpage

jQuery('#right-sidebar').knowledgeGraph({
   ...
  trigger: 'fixed'
});

Display box as self-standing webpage

jQuery(document).knowledgeGraph({
   ...
  trigger: 'full'
});

top

Funnelback logo
v15.18.0