Page

io.github.frikit.twirlspec.page.Page
See thePage companion class
object Page

Ways to build a page from rendered HTML.

Attributes

Companion
class
Source
Page.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Page.type

Members list

Value members

Concrete methods

def apply(html: Html)(implicit messages: Messages): Page

Parse rendered HTML into a page in the language of the implicit messages.

Parse rendered HTML into a page in the language of the implicit messages.

Attributes

Source
Page.scala
def apply(html: Html, lang: Lang, messages: Messages): Page

Parse rendered HTML into a page for an explicit language and its messages.

Parse rendered HTML into a page for an explicit language and its messages.

Attributes

Source
Page.scala
def fromString(html: String, lang: Lang, messages: Messages): Page

Parse a string of HTML for a language and its messages, recording what the parser had to repair.

Parse a string of HTML for a language and its messages, recording what the parser had to repair.

Attributes

Source
Page.scala