A custom Appendable that lets you create .scala.stream templates instead of .scala.html.
Create a "pagelet" that can be sent down the browser as soon as the given content is available and rendered client-side into the correct spot on the page, as identified by the given DOM id.
Create a "pagelet" that can be sent down the browser as soon as the given content is available and rendered client-side into the correct spot on the page, as identified by the given DOM id. This is done by:
1. Wrapping the given content in HTML markup that will not be visible when the browser first processes it 2. Adding JavaScript that will extract the hidden content and insert it into the proper location in the DOM
Use the Pagelet.fromXXX methods to create Pagelets from a variety of types. Use the Pagelet.asHtmlXXX methods to get the HTML/JS code that you should insert into your page.
Companion object for HtmlStream that contains convenient factory and composition methods.
A custom Appendable that lets you create .scala.stream templates instead of .scala.html.
A custom Appendable that lets you create .scala.stream templates instead of .scala.html. These templates can mix Html markup with Enumerators that contain Html markup so that as soon as the content is available, Play can stream it back to the client.
Useful implicits when working with HtmlStreams
A custom Appendable that lets you create .scala.stream templates instead of .scala.html. These templates can mix Html markup with Enumerators that contain Html markup so that as soon as the content is available, Play can stream it back to the client. You need to add this class as a custom template type in build.sbt.