Namespace: cq-study-script-menu

WebComponents. cq-study-script-menu

Studies web component <cq-study-script-menu>.

Only available if subscribing to the scriptIQ module.

This web component lists ScriptIQ studies from the study library CIQ.Studies.studyScriptLibrary.

To enable the scriptIQ plugin in sample-template-advanced.html , search for scriptiq and uncomment the necessary sections. This template can also be used as reference to create your own UI for this module.

Since:
  • 6.1.0

Methods


initialize(params)

Initialize the component

Parameters:
Name Type Description
params Object

Optional parameters to control behavior of the menu

Properties
Name Type Argument Description
template Boolean <optional>

DOM element to attach the menu items

Since:
  • 6.1.0
Example
//
			<cq-heading>ScriptIQ</cq-heading>
				<cq-item><cq-clickable cq-selector="cq-scriptiq-editor" cq-method="open">New Script</cq-clickable></cq-item>
				<cq-scriptiq-menu>
					<cq-scriptiq-content>
							<template>
								<cq-item>
									<cq-label></cq-label>
									<div>
										<span class="ciq-edit"></span>
										<span class="ciq-icon ciq-close"></span>
									</div>
								</cq-item>
							</template>
					</cq-scriptiq-content>
				</cq-scriptiq-menu>
			<cq-separator></cq-separator>
			<cq-heading>Studies</cq-heading>

renderMenu()

Creates the menu

Since:
  • 6.1.0