[−][src]Module seed::prelude
Introduce El
and Tag
into the global namespace for convenience (El
will be repeated
often in the output type of components), and UpdateEl
, which is required
for element-creation macros, input event constructors, and the History
struct.
Expose the wasm_bindgen
prelude.
Re-exports
pub use crate::app::builder::init::Init; |
pub use crate::app::AfterMount; |
pub use crate::app::App; |
pub use crate::app::BeforeMount; |
pub use crate::app::MessageMapper; |
pub use crate::app::MountType; |
pub use crate::app::Orders; |
pub use crate::app::RenderTimestampDelta; |
pub use crate::app::UrlHandling; |
pub use crate::browser::dom::css_units::*; |
pub use crate::browser::dom::event_handler::ev; |
pub use crate::browser::dom::event_handler::input_ev; |
pub use crate::browser::dom::event_handler::keyboard_ev; |
pub use crate::browser::dom::event_handler::mouse_ev; |
pub use crate::browser::dom::event_handler::pointer_ev; |
pub use crate::browser::dom::event_handler::raw_ev; |
pub use crate::browser::dom::event_handler::simple_ev; |
pub use crate::browser::util::request_animation_frame; |
pub use crate::browser::util::ClosureNew; |
pub use crate::browser::util::RequestAnimationFrameHandle; |
pub use crate::browser::util::RequestAnimationFrameTime; |
pub use crate::browser::Url; |
pub use crate::shortcuts::*; |
pub use crate::virtual_dom::el_ref::el_ref; |
pub use crate::virtual_dom::AsAtValue; |
pub use crate::virtual_dom::AtValue; |
pub use crate::virtual_dom::CSSValue; |
pub use crate::virtual_dom::El; |
pub use crate::virtual_dom::ElRef; |
pub use crate::virtual_dom::EventHandler; |
pub use crate::virtual_dom::Node; |
pub use crate::virtual_dom::UpdateEl; |
pub use crate::virtual_dom::View; |
Structs
Closure | A handle to both a closure in Rust as well as JS closure which will invoke the Rust closure. |
Event | The |
IndexMap | A hash table where the iteration order of the key-value pairs is independent of the hash values of the keys. |
JsValue | Representation of an object owned by JS. |
Enums
At | The At enum restricts element-creation to only valid event names, as defined here: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes |
Ev | The Ev enum restricts element-creation to only valid event names, as defined here: https://developer.mozilla.org/en-US/docs/Web/Evs |
St | The St enum restricts element-creation to only valid styles. |
Tag | The Tag enum restricts element-creation to only valid tags, as defined here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element |
Traits
UnwrapThrowExt | An extension trait for |
Attribute Macros
__wasm_bindgen_class_marker | |
wasm_bindgen |