com.alecdorrington.pageloader.laminar

Members list

Type members

Classlikes

trait LaminarView extends View

The base trait for all views that use Laminar. Each view corresponds to a distinct page (i.e. at a unique URL) of the website.

The base trait for all views that use Laminar. Each view corresponds to a distinct page (i.e. at a unique URL) of the website.

Attributes

Note

Every View must be explicitly exported with @JSExportTopLevel.

The appropriate view for each page is selected based on the name injected into thePageTemplate by the server.

Example
 import scala.scalajs.js.annotation.JSExportTopLevel
 @JSExportTopLevel("IndexView")
 object IndexView extends LaminarView:
   ???
Supertypes
trait View
class Object
trait Matchable
class Any