o

play.twirl.api

TxtFormat

object TxtFormat extends Format[Txt]

Formatter for text content.

Source
Formats.scala
Linear Supertypes
Format[Txt], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TxtFormat
  2. Format
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Appendable = Txt
    Definition Classes
    Format

Value Members

  1. val empty: Txt

    Generate an empty Txt fragment

    Generate an empty Txt fragment

    Definition Classes
    Format
  2. def escape(text: String): Txt

    No need for a safe (escaped) text fragment.

    No need for a safe (escaped) text fragment.

    text

    Text to integrate

    Definition Classes
    Format
  3. def fill(elements: Seq[Txt]): Txt

    Create an Txt Fragment that holds other fragments.

    Create an Txt Fragment that holds other fragments.

    Definition Classes
    Format
  4. def raw(text: String): Txt

    Create a text fragment.

    Create a text fragment.

    text

    Text to integrate

    Definition Classes
    Format