Enables scripted content fragments to use Tour Tips
Methods
List
Lists tour tips with read state for the accessing user and requested tip keys
Velocity
#set($apiListResponse = $core_v2_tourTip.List($tipKeys))
JavaScript
var apiListResponse = core_v2_tourTip.List(tipKeys);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
tipKeys | IList of String | Tip keys | Required |
Returns
Mark
Marks a tour tip as read or unread for the accessing user
Velocity
#set($tourTipResponse = $core_v2_tourTip.Mark($tipKey, $asRead))
JavaScript
var tourTipResponse = core_v2_tourTip.Mark(tipKey, asRead);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
tipKey | String | Tip key | Required | ||
asRead | Boolean | Read state | Required |
Returns
Render
Render Overload 1
Renders an HTML attribute string which can be embedded in any element to provide a tour tip associated with the element.
Velocity
#set($stringResponse = $core_v2_tourTip.Render($message))
JavaScript
var stringResponse = core_v2_tourTip.Render(message);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | String | Tour tip message | Required |
Render Overload 2
Renders an HTML attribute string which can be embedded in any element to provide a tour tip associated with the element.
Velocity
#set($stringResponse = $core_v2_tourTip.Render($message, "%{ CssClass = $cssClassArg, Index = $indexArg }"))
JavaScript
var stringResponse = core_v2_tourTip.Render(message, { CssClass: cssClassArg, Index: indexArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
message | String | Tour tip message | Required | ||
CssClass | String | Additional CSS class(es) to associate with the element | Optional | ||
Index | Int32 | Requested order at which to display the tour tip | Optional |
Returns
String