On this page, you can check out a demo of the Notification Widget provided by Sitecore Personalize.
Configuration Items
Display Position and Slide Movement
You can control the display position of the notification widget. This can be set with three items.
- Vertical Position: Can be set to top or bottom
- Horizontal Position: Can be set to right or left
- Display Direction: Can be set to display from any of the four directions (top, bottom, left, right)
Notification Text
The Notification Widget allows you to set one text. This item can be changed in General
- Text
.
Code Review
The variables included in the HTML are as follows:
Variable | Type | Description |
---|
Text | string | Notification title |
HTML Code
The HTML for the Notification Widget is set as follows:
JavaScript Code
The JavaScript for the Notification Widget is set as follows: