Modules§
Macros§
Structs§
- Props for the
BevyCanvas
component. - Event listener that unsubscribes on drop. It stores an
Rc<Inner>
so can be safely cloned. - Props for the
NotFound
component. - Resize listener When using with leptos, ensure it is moved to [
on_cleanup
] to avoid being dropped
Traits§
Functions§
- Optional Props
- Required Props
- Leaks
- Rejects a promise after a given duration
- calls [
Element::get_bounding_client_rect
] whenever this element or its parent is resized The resize calls are memoized - relative to viewport, calls bounding_client_rect
- Memoized version of
use_resize_listener
, that also sets intial size based on [get_bounding_client_rect
] - Memoized version of
use_resize_listener
, that also sets intial size based on [get_bounding_client_rect
]