creedon Posted April 14, 2022 Share Posted April 14, 2022 Please see Calendar Block Event Change. Altering the events in a Calendar block can be tricky because the events are loaded in a lazy fashion. This means you need a MutationObserver to watch for the events to be loaded so you can alter them. My code is a base effect. It does not make changes on its own. It just does the watching for you. From there it is up to you to write callbacks to do the actual work. This isn't the end all be all of MO's but may be able to help in many cases. After using the basic structure of this code for several effects I figured why not break it out and share! 🙂 tuanphan 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
creedon Posted February 10 Author Share Posted February 10 I have updated my cited code. * added v7.0 Brine template family Event page view calendar * added v7.0 Brine template family calendar block support Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment