AppPage

ostrat.pDev.AppPage
See theAppPage companion class
object AppPage

Companion object for AppPage class. Contains factory apply methods directory paths and list of app links. Longer term may need reorganisation,

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
AppPage.type

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def all: RArr[AppPage]
def apply(jsMainStem: String, dirPath: DirsRel, htmlTitleIn: String, htmlFileNameStem: String): AppPage

Factory apply method for AppPage class. The first parameter is the stem of the name of the main function in the JavaScript file, to which "JsApp" String is appended. The second parameter is the file name's stems to which the Strings ".html" and ",js" will be added. The default is the lower case of the first parameter. The third parameter is the title, which unlike the first two parameters can contain spaces which defaults to the first parameter.

Factory apply method for AppPage class. The first parameter is the stem of the name of the main function in the JavaScript file, to which "JsApp" String is appended. The second parameter is the file name's stems to which the Strings ".html" and ",js" will be added. The default is the lower case of the first parameter. The third parameter is the title, which unlike the first two parameters can contain spaces which defaults to the first parameter.

Attributes

def topMenu(pairs: ArrPairStr[DirsFileRel], origin: DirsRel): HtmlUl

Concrete fields

list of app links to go in the page headers.

list of app links to go in the page headers.

Attributes

val bcApp: AppPage
val otDir: DirsRel