savvi Posted May 4, 2022 Share Posted May 4, 2022 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 More sharing options...
Solution Cassie Posted May 4, 2022 Solution Share Posted May 4, 2022 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}. 4 Link to comment Share on other sites More sharing options...
savvi Posted May 4, 2022 Author Share Posted May 4, 2022 haha brilliant!! I did have a google and it seemed something quite simple to implement so I did wonder! Thank you! 1 Link to comment Share on other sites More sharing options...
Cassie Posted May 4, 2022 Share Posted May 4, 2022 Just out of interest (as I'm trying to make the docs better) Did you look in the docs, not find it and then google - or jump straight to google? Link to comment Share on other sites More sharing options...
savvi Posted May 15, 2022 Author Share Posted May 15, 2022 Sorry just logged in and saw this reply.. I scanned through the docs but missed it then went to google. Now I can see it in the docs clear as day! 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now