Plugin entrypoint
Last updated
Was this helpful?
Last updated
Was this helpful?
onLoad â A function that gets called when the plugin gets enabled
onUnload â A function that gets called when the plugin gets disabled
Settings â A React JSX component, serves as the settings for the plugin
A plugin only gets ran when the user enables it. So this piece of code:
does the same thing as this piece of code:
However it's recommended to keep your initial code in onLoad, incase this changes in the future