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
I was trying to change/toggle some classes on the timeline items in the runtime in order to upgrade the UX but it is a bit weird the way I managed to achieve it.
First of all in some items I use "className": "cancelled" which adds the corresponding class in the element.
The task is to toggle the specific class in the selected item. I was not able to find something related in the documentation.
I tried the below with a bit of success but then when I click somewhere else the toggle is reverted.
The workaround I managed to figure out was to remove the class name in my db and then reload the items of the timeline.
Am I missing something here or my workaround is the only solution for the moment?
It would be nice to have a method to toggle a class in the items in runtime.
The text was updated successfully, but these errors were encountered:
Hello,
I was trying to change/toggle some classes on the timeline items in the runtime in order to upgrade the UX but it is a bit weird the way I managed to achieve it.
First of all in some items I use
"className": "cancelled"
which adds the corresponding class in the element.The task is to toggle the specific class in the selected item. I was not able to find something related in the documentation.
I tried the below with a bit of success but then when I click somewhere else the toggle is reverted.
The workaround I managed to figure out was to remove the class name in my db and then reload the items of the timeline.
Am I missing something here or my workaround is the only solution for the moment?
It would be nice to have a method to toggle a class in the items in runtime.
The text was updated successfully, but these errors were encountered: