-
Notifications
You must be signed in to change notification settings - Fork 157
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Hello,
I would like to get a div a height so I do this :
fn get_height(el: &web_sys::Node) -> i32 {
let html_el = seed::to_html_el(&el);
let h = html_el.client_height();
log!("test {:?}", h);
h
}
Wich works.
But then I would like to use this function on an update message
(for example a message that is lauched on mounting the component)
How to do this ?
Tanks for your help
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested