Jump to content
Search Community

Scroll marker colours - Feature Request

savvi test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Would be great if we could theme scroll markers in some way? Give position left or right side of screen and maybe add a colour option?
 

markers: {visible: true, label: "myTrigger", position: left, colour: red}

 

This way it would be easier to distinguish between multiple scroll triggers.

 

Link to comment
Share on other sites

  • Solution

You can!

 

From the docs.

 

markers Object | Boolean - Adds markers that are helpful during development/troubleshooting. markers: true adds them with the defaults (startColor: "green", endColor: "red", fontSize: "16px", fontWeigth: "normal", indent: 0) but you can customize them by using an object like markers: {startColor: "white", endColor: "white", fontSize: "18px", fontWeight: "bold", indent: 20}.
  • Like 4
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...