MCPcopy Create free account
hub / github.com/angular-rust/ux-components / bounds_changed

Method bounds_changed

src/elements/list.rs:173–179  ·  view source on GitHub ↗

_dx: f32 =0.0, _dy: f32 =0.0, _dw: f32 =0.0, _dh: f32 =0.0

(&self, dx: f32, dy: f32, dw: f32, dh: f32)

Source from the content-addressed store, hash-verified

171
172 // _dx: f32 =0.0, _dy: f32 =0.0, _dw: f32 =0.0, _dh: f32 =0.0
173 fn bounds_changed(&self, dx: f32, dy: f32, dw: f32, dh: f32) {
174 // self.base.bounds_changed(_dx, _dy, _dw, _dh);
175
176 // if self.view.is_some() {
177 self.view.set_size(self.w(), self.h());
178 // }
179 }
180
181 fn node(&self) -> Option<Node> {
182 Some(self.node)

Callers 1

set_sizeMethod · 0.45

Calls 3

set_sizeMethod · 0.45
wMethod · 0.45
hMethod · 0.45

Tested by

no test coverage detected