Skip to main content

Page Change events

Content wide vs Page wide

img.png

  • Page wide events run only when the content is displaying the corresponding page.

    • Here you can choose the affected page
  • Content wide events run on each page individually.

Page start

  • When the content displays this page or opens this page in a popup.

Page end

  • When the content finishes displaying this page or the popup that had it is closed.

After delay

  • You can set a delay, otherwise, it runs the same way as Page start events. If the page is left or the popup is closed before the timer, the actions will be ignored.

Repeat

  • You can set a delay. It will first run after the delay is up and then run periodically. It will stop when the content stops displaying the page or the popup is closed.
please note

Content wide repeats will reset on every page change!

  • You can achieve various tasks with repeat.
example
  • You can toggle a checkbox and then change something else based on the checkbox’s value, thus being able to toggle anything (text value, background color, whether the audio is playing, etc.)

or

  • Execute an action at random times.
  • For this, you need to use an “Execute action batch”.
  • Add a “Call function” sent field.
  • To the code field, type this: () => Math.random()
  • Give it a name, such as: random
  • Click the “Actions(0)” button, add your action and in the evaluation type, choose “Is less than”.
  • To the “Evaluate against” field, type a value between 0 and 1, such as 0.1.
  • Math.random() will give a value between 0 and 1, such as 0.9329988336300747.