(props: Self::Properties, link: ComponentLink<Self>)
| 77 | type Properties = DrawerProps; |
| 78 | |
| 79 | fn create(props: Self::Properties, link: ComponentLink<Self>) -> Self { |
| 80 | props.link.borrow_mut().replace(link); |
| 81 | // Drawer::ensure_loaded(); |
| 82 | Self { |
| 83 | props, |
| 84 | node_ref: NodeRef::default(), |
| 85 | opened_listener: None, |
| 86 | closed_listener: None, |
| 87 | animation_frame: 0, |
| 88 | animation_timer: 0, |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | fn update(&mut self, msg: Self::Message) -> ShouldRender { |
| 93 | match msg { |
nothing calls this directly
no outgoing calls
no test coverage detected