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

Method unmark_control

src/services/focus.rs:264–272  ·  view source on GitHub ↗
(&self, control: &dyn Element, e: &mut MouseEvent)

Source from the content-addressed store, hash-verified

262 }
263
264 fn unmark_control(&self, control: &dyn Element, e: &mut MouseEvent) {
265 if control.is_marked() {
266 control.unmark();
267
268 if control.mouse_input() {
269 control.mouseleave(e);
270 }
271 }
272 }
273
274 fn mark_control(&self, control: &dyn Element, e: &mut MouseEvent) {
275 if !control.is_marked() {

Callers 2

mousemoveMethod · 0.80
reset_markedMethod · 0.80

Calls 4

is_markedMethod · 0.80
unmarkMethod · 0.80
mouseleaveMethod · 0.80
mouse_inputMethod · 0.45

Tested by

no test coverage detected