Skip to main content

SipaBasicView

SipaBasicView

Basic class for pages and layouts

SipaBasicView.isLoaded() boolean

Check if the current view is loaded

Example

// ImprintPage is loaded
LoginPage.isLoaded();
// => false

SipaBasicView.className() string

Get the class name of the current view

Example

class MyPage extends SipaBasicView {
}

const a = MyPage;
a.className()
// => 'MyPage'

SipaBasicView.type() 'page' | 'layout'

Get the type of the current view

Example

class MyLayout extends SipaBasicView {
}

MyLayout.type()
// => 'layout'