MCPcopy Create free account
hub / github.com/bajrangCoder/setu / close

Method close

src/components/custom_dropdown.rs:41–45  ·  view source on GitHub ↗
(&mut self, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

39 return;
40 }
41 if self.is_open {
42 self.begin_close(cx);
43 return;
44 }
45 self.close_epoch = self.close_epoch.wrapping_add(1);
46 self.is_open = true;
47 self.closing_at = None;
48 self.close_time = None;

Callers 1

renderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected