TxtFormat

play.twirl.api.TxtFormat$
object TxtFormat extends Format[Txt]

Formatter for text content.

Attributes

Graph
Supertypes
trait Format[Txt]
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited types

type Appendable = T

Attributes

Inherited from:
Format

Value members

Concrete methods

def escape(text: String): Txt

No need for a safe (escaped) text fragment.

No need for a safe (escaped) text fragment.

Attributes

def fill(elements: Seq[Txt]): Txt

Create an Txt Fragment that holds other fragments.

Create an Txt Fragment that holds other fragments.

Attributes

def raw(text: String): Txt

Create a text fragment.

Create a text fragment.

Attributes

Concrete fields

val empty: Txt

Generate an empty Txt fragment

Generate an empty Txt fragment

Attributes