PageTemplate

com.alecdorrington.pageloader.PageTemplate
object PageTemplate

A simple HTML template common to every page of an application.

Attributes

Note

Different pages differ only in that a different view initialisation function is called. This is injected by name as a string.

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(view: ViewData, hotReloadWebsocketPath: Option[String] = ..., scalajsPath: String = ...): String

Value parameters

hotReloadWebsocketPath

Whether hot reload is enabled on the client (yes if Some), and if so, at which URL path can the heartbeat websocket connection be established?

scalajsPath

The URL path to the compiled Scala.js script.

view

The view to embed in the template.

Attributes