Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
I want to customize the icons and confetti colors that the confetti function uses. I have the javascript to change all of it (I think) but I'm unsure how I can apply it so that the default confetti function executes MY version versus the default version. Can I do it by adding the custom js to the Theme Custom js or via an LTI, or somewhere else?
Any guidance on how/where to invoke the custom version? (we are using the cloud version of Canvas, not self-hosted)
You would need to include your JS via theme; LTI tools are loaded inside iframes so any JS/CSS included in LTI tool content doesn't affect the containing page (with the exception of JS PostMessage calls, but that's not relevant here).
As to whether or not it's feasible to replace the stock confetti mechanism with your own, I can't say. We avoid this kind of customization as much as possible since it can easily be broken by changes in the underlying page.
--Colin
To participate in the Instructure Community, you need to sign up or log in:
Sign In