new_event | R Documentation |
Generate new events to be added to existing vector of events
new_event(evt)
evt |
Event name and event time |
The functions to add/modify events/inputs use lists. Whenever several inputs/events are added or modified, it's recommended to group them within one function, as it reduces the computation cost.
So rather than use two new_event
with a list of one element, it's better to group them into a single new_event
with a list of two elements.
This function is intended to be used only within the add_reactevt
function in its input
parameter and should not be run elsewhere or it will return an error.
No return value, adds event to cur_evtlist
and integrates it with the main list for storage
add_reactevt(name_evt = "idfs",input = {new_event(list("ae"=5))})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.