Welcome to HealthcareMagic forum.
It is important to know whether or not she was conscious during the episode. Was she responding to stimulus and if she had control on bowel and bladder?
Based on the provided information, her symptoms could be related to
1. Febrile illness
2. A seizure
3. Cardiac arrhythmia
Her symptoms appear concerning to me and warrants a thorough clinical examination and evaluation. Do visit the nearest emergency centre for proper evaluation.
I will be interested in knowing the results of initial examination. So if feasible keep us posted.