(&self)
| 85 | } |
| 86 | |
| 87 | fn view(&self) -> Html { |
| 88 | html! { |
| 89 | <canvas width="800" height="400" ref=self.node_ref.clone() /> |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | fn rendered(&mut self, first_render: bool) { |
| 94 | let canvas = self.node_ref.cast::<HtmlCanvasElement>().unwrap(); |
nothing calls this directly
no outgoing calls
no test coverage detected