[][src]Crate dominator_helpers

Modules

events
futures
signals

Macros

dynamic_class_signal

Placeholder for https://github.com/Pauan/rust-dominator/issues/44

elem

pass in a HtmlElement and get a Dom

html_slot

Create an element type at a slot (useful for web components) e.g. this will create the "todo-input" element with its "slot" attribute set to "input" html_slot!("todo-input", "input", { ... }

make_custom_event
make_custom_event_serde

first arg is name of the new struct to create second arg is literal name of the event third arg is the data structure.

make_ts_event

takes a literal and an ident and does the following:

temp_make_event

TODO - use dominator::make_event instead! (it's not exported yet)

with_data_id

Method to get a child by data-id example: .with_data_id!("status", { .event(...)

with_query

Method to get a child by query example: .with_query!("[data-id='status']", { .event(...)