Creates a HtmlViewAsync corresponding to a dynamic HtmlPage with an asynchronous model and default indentation on. @param template Function that consumes an HtmlView to produce HTML elements. @param Type of the model rendered with this view.
(HtmlTemplate template)
| 303 | * @param <M> Type of the model rendered with this view. |
| 304 | */ |
| 305 | public static <M> HtmlViewAsync<M> viewAsync(HtmlTemplate template) { |
| 306 | return HtmlFlow.viewAsync(template, true, false, true); |
| 307 | } |
| 308 | |
| 309 | /** |
| 310 | * Creates a Hot HtmlViewAsync corresponding to a dynamic HtmlPage with an asynchronous model and |