listener handles, auto-clean destroyed listeners, minor refactor

This commit is contained in:
Aleksander
2025-07-06 20:53:40 +02:00
parent 92444bb5c4
commit 857c5ec865
16 changed files with 348 additions and 182 deletions

View File

@@ -32,7 +32,7 @@ pub fn parse_component_slider<'a, U1, U2>(
}
}
let slider = slider::construct(
ctx.components.push(slider::construct(
ctx.layout,
ctx.listeners,
parent_id,
@@ -42,7 +42,7 @@ pub fn parse_component_slider<'a, U1, U2>(
initial_value,
style,
},
)?;
)?);
Ok(())
}