ui_modal
Modal datum (contains base information for a modal)
Procs | |
on_answer | Called when a modal receives an answer |
---|---|
preprocess_answer | Called when it's time to pre-process the answer before using it |
to_data | Creates a list that describes a modal visually to be passed to JS |
Proc Details
on_answer
Called when a modal receives an answer
Arguments:
- answer - The answer, a nullable text
preprocess_answer
Called when it's time to pre-process the answer before using it
Arguments:
- answer - The answer, a nullable text
to_data
Creates a list that describes a modal visually to be passed to JS