pub fn process_events(
    dom: &FreyaDOM,
    layers: &Layers,
    events: &mut SmallVec<[PlatformEvent; 2]>,
    event_emitter: &UnboundedSender<DomEvent>,
    nodes_state: &mut NodesState,
    viewports: &Viewports,
    scale_factor: f64
)
Expand description

Process the events and emit them to the VirtualDOM