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

Method mouseup

src/elements/window.rs:439–447  ·  view source on GitHub ↗
(&self, e: &mut MouseEvent)

Source from the content-addressed store, hash-verified

437 }
438
439 fn mouseup(&self, e: &mut MouseEvent) {
440 // self.base.mouseup(e);
441
442 let mut state = self.state.borrow_mut();
443 if state.dragging {
444 state.dragging = false;
445 self.uncapture();
446 }
447 }
448
449 // _dx: f32 =0.0, _dy: f32 =0.0, _dw: f32 =0.0, _dh: f32 =0.0
450 fn bounds_changed(&self, dx: f32, dy: f32, dw: f32, dh: f32) {

Callers

nothing calls this directly

Calls 1

uncaptureMethod · 0.80

Tested by

no test coverage detected