A convenience method to for `drawer.open = !drawer.open`
(&self)
| 245 | impl WeakComponentLink<Drawer> { |
| 246 | /// A convenience method to for `drawer.open = !drawer.open` |
| 247 | pub fn flip_open_state(&self) { |
| 248 | // let node_ref = (*self.borrow().as_ref().unwrap().get_component().unwrap()) |
| 249 | // .node_ref |
| 250 | // .clone(); |
| 251 | // let element = node_ref.cast::<Drawer>().unwrap(); |
| 252 | // let open = element.open(); |
| 253 | // element.set_open(!open); |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | pub struct DrawerItem { |
nothing calls this directly
no outgoing calls
no test coverage detected