pub use callback::Callback;
pub use component::{Component, Container, Widget};
pub use effects::Effects;
pub use modifier::Modifier;
mod callback;
mod component;
mod effects;
mod modifier;
use cfg_if::cfg_if;
cfg_if! {if #[cfg(feature = "with-dom")] {
pub use application::{Application, Measurements};
pub use created_node::CreatedNode;
pub use custom_element::{register_custom_element, CustomElement, WebComponent};
pub use dom_patch::{DomPatch, PatchVariant};
pub use http::Http;
pub use program::{MountAction, MountTarget, Program};
pub use util::{
async_delay, body, delay_exec, document, history, now, performance, request_animation_frame,
request_idle_callback, spawn_local, window,
};
pub use window::Window;
pub use cmd::Cmd;
mod application;
pub mod cmd;
mod created_node;
mod custom_element;
mod dom_patch;
pub mod events;
mod http;
mod program;
pub mod util;
mod window;
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum Event {
WebEvent(web_sys::Event),
MountEvent(crate::events::MountEvent),
}
}}
#[cfg(not(feature = "with-dom"))]
pub type Event = ();