Evaluate the layout and render all commands.
(
&mut self,
handle_custom_command: impl Fn(&RenderCommand<CustomElementData>),
)
| 1136 | |
| 1137 | /// Evaluate the layout and render all commands. |
| 1138 | pub async fn show( |
| 1139 | &mut self, |
| 1140 | handle_custom_command: impl Fn(&RenderCommand<CustomElementData>), |
| 1141 | ) { |
| 1142 | let commands = self.eval(); |
| 1143 | renderer::render(commands, handle_custom_command).await; |
| 1144 | } |
| 1145 | } |
| 1146 | |
| 1147 | #[cfg(target_arch = "wasm32")] |