Read the statement by Michael Teeuw here.
Documentation Suggestion
-
@sdetweil What I meant was, could it show how to put in two or more custom events, like this:
customEvents: [ {keyword: 'Birthday', symbol: 'fa-birthday-cake', color: 'Gold'}, {keyword: 'Clinic', symbol: 'biohazard', color: 'Green'}],
It might just be me getting confused, but because there are a few different elements and they are separated in different ways, I got mixed up trying to add multiple events. For example, I wasn’t sure if each event needed it’s own line, like:
customEvents: [{keyword: 'Birthday', symbol: 'fa-birthday-cake', color: 'Gold'}, customEvents: [{keyword: 'Clinic', symbol: 'biohazard', color: 'Green'}],
or if I could put multiple keywords onto one line, like:
customEvents: [{keyword: 'Birthday' 'Party', symbol: 'fa-birthday-cake', color: 'Gold'},
It’s probably a bit daft, but I get confused more easily these days :dizzy_face: :)
-
@tippon ok, the words are new…, but once u learn them
array mean this [ ]
so, ANY , one or multiple must be inside the []
then it says a combo of matching string/icon/color
so that is an object , which is {}
things, with key:value, key:value, key:value pattern
{ key:value, key:value, key:value }and that is what the example shows, except for the second one, but continue (more to follow) is , (comma)
[ ---- begin
first ,
second,
third
] ---- end -
@tippon one more tool to use
when u are confused, use separate lines for the parts… the compiler will handle it
[
{ …}
,
{ …}
,
{ …} (notice the lack of the ‘more to follow’ comma)]
u can combine them back together later with your editor… (if u want )
-
@sdetweil Thank you for the advice :)
Thank you too for being patient with me. I’m finding that I’m struggling more than usual recently when I try to learn something new, and you’ve been very helpful with your replies to my questions :)
-
@tippon my pleasure…