You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The classMap function uses a key/value collection of css classes organized by date.
What i would love to do ist use a callback function like blackout uses.
I have a string like "YNNYNYNYNNNNNNNNNNNYYYYNYNYYYNYNYYYYYY".
First "Y" of that String stands for 01-01-2017 and so on. So the callbackfunction should just return a class like "free" if date matches "Y" and "closed" if it matches "N".
I don't see how that can be done with the key/value collection.
The text was updated successfully, but these errors were encountered:
The classMap function uses a key/value collection of css classes organized by date.
What i would love to do ist use a callback function like blackout uses.
I have a string like "YNNYNYNYNNNNNNNNNNNYYYYNYNYYYNYNYYYYYY".
First "Y" of that String stands for 01-01-2017 and so on. So the callbackfunction should just return a class like "free" if date matches "Y" and "closed" if it matches "N".
I don't see how that can be done with the key/value collection.
The text was updated successfully, but these errors were encountered: