ViewData
com.alecdorrington.pageloader.ViewData
case class ViewData(name: String, iconPath: String = ..., pageTitle: String = ..., languageCode: String = ..., charset: String = ...)
Metadata for a View.
Value parameters
- charset
-
The character encoding declared in the
<META charset>tag. - iconPath
-
The URL path to the page favicon.
- languageCode
-
The BCP 47 language code for the
langattribute of the<HTML>tag. - name
-
The name of the view. Include only the name, with no package prefix and no parentheses (e.g.
IndexView). In order to be visible to the client, a view must be exported using the@JSExportTopLevelannotation, and the name used in that annotation must match the name specified here. - pageTitle
-
The title of the page.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article