[][src]Crate dominator_helpers

Macros

elem

pass in a HtmlElement

html_at_slot

simple helper for adding Dom to a slot

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:

with_data_id

example: .with_data_id!("status", { .event(...)

with_query

example: .with_query!("[data-id='status']", { .event(...)

Functions

spawn_future

Makes it easier to spawn and cancel a future-signal Copied with permission from Dominator's pub(crate) function