com.ybrikman.ping.scalaapi

bigpipe

package bigpipe

Visibility
  1. Public
  2. All

Type Members

  1. class HtmlStream extends Appendable[HtmlStream]

    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. You need to add this class as a custom template type in build.sbt.

  2. class Pagelet extends AnyRef

    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.

Value Members

  1. object Embed

  2. object HtmlStream

    Companion object for HtmlStream that contains convenient factory and composition methods.

  3. object HtmlStreamFormat extends Format[HtmlStream]

    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.

  4. object HtmlStreamImplicits

    Useful implicits when working with HtmlStreams

  5. object JavaStreamHelper

  6. object Pagelet

Ungrouped