Idea: As an admin you can configure how likely (probability) snowflakes will appear for users, as well as for how long.
Implementation details:
- Edit the
OCA\Xmas\SnowLoader class with these improvements
- Utilise OCP\IConfig with app values for the
xmas app to store values for probability, start time and end time
- Pass these values through to the javascript using
OC.getCapabilities()['xmas'] and see the php example
Idea: As an admin you can configure how likely (probability) snowflakes will appear for users, as well as for how long.
Implementation details:
OCA\Xmas\SnowLoaderclass with these improvementsxmasapp to store values for probability, start time and end timeOC.getCapabilities()['xmas']and see the php example