1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! This module provides functionalities for
//! manipulating the actual Document Object Model in the browser
//!
pub mod apply_patches;
pub mod cmd;
mod component;
mod created_node;
mod dispatch;
mod dom_updater;
pub mod events;
mod http;
mod program;
mod util;
mod window;

pub use component::Component;
pub use created_node::CreatedNode;
pub use dispatch::Dispatch;
pub use dom_updater::DomUpdater;
pub use events::*;
pub use http::Http;
pub use program::Program;
pub use util::{
    body, document, execute_in_request_animation_frame, history, now,
    performance, request_animation_frame, window,
};
pub use window::Window;

/// alias Cmd to use Program as the APP
pub type Cmd<APP, MSG> = cmd::Cmd<Program<APP, MSG>>;