Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different EventSources not styled #408

Open
geomoes opened this issue Jan 3, 2025 · 1 comment
Open

different EventSources not styled #408

geomoes opened this issue Jan 3, 2025 · 1 comment

Comments

@geomoes
Copy link

geomoes commented Jan 3, 2025

I have a problem to style different Eventsources. The events are loaded using the etraParams as filter, but they all are displayed with the default backgroundColor?

eventSources: [
            {
              url: 'https://example.com/data/get_events_json.php',
                extraParams: {
                	region: 'S',
              	},
               backgroundColor: 'SandyBrown',
               textColor: 'black',
            },
            {
              url: 'https://example.com/data/get_events_json.php',
                extraParams: {
                	region: 'N',	
              },
              backgroundColor: 'DarkKhaki',
              textColor: 'black',
            }
          ]
@vkurko
Copy link
Owner

vkurko commented Jan 6, 2025

Sorry, but nowhere is it stated that it should work like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants