Layouts
Layouts in Pages help you to customize the main view of your app, this comes with pre built layout options that will be updated over time. Pages now comes with 5 Different layouts and each layout will have 7 themes.
Location : @pages/layouts
All Layouts are extended from the super class rootLayout which is located in
@pages/layouts/root
Property | Description | Type | Default | Scope |
contentClass | Set content div class | string | null | Public |
pageWrapperClass | Set Page Wrapper Class | string | null | Public |
footer | Show / Hide Footer | boolean | true | Public |
These functions can be called in any sub class layout.
changeLayout(type:string);
Set body class layout. eg : - "menu-pinned'
openQuickView()
Open Quick view
openSearch()
Open Quick Search
toggleMenuPin($e)
Quick function to toggle fixed sidebar menu
toggleMenuDrawer()
Menu drawer in side bar. This function will close and open it.
toggleMobileSidebar()
Open and Close sidebar menu on mobile only
toggleSecondarySideBar()
Open and Close secondary sidebar on mobile only
toggleHorizontalMenuMobile()
Open and Close Sidebar on mobile - Implemented for Horizontal app menu
Layouts that are implemented extending root layout
One of our most popular Layouts, Pages Condensed offers a wide range of responsive space specifically for dashboards with heavy content.
Location -
@pages/layouts/condensed
A new tone of voice – a relaxed, friendly, joyful layout that quickly makes the user experience more personal, casual and fun!. Comes with horizontal layout and sidebar option
Location -
@pages/layouts/casual
Corporate is a bold, cool Layout that elevates your content by utilizing a clean layout and a simple, open interface. Contains boxed version and secondary sidebar.
Location -
@pages/layouts/corporate
In a world of complexity, Simplicity defeats stress. Simply white is an open simple, minimal yet striking layout, built to combat stress. Contains boxed version and secondary sidebar.
Location -
@pages/layouts/simplywhite
A Professional template with a timeless look, best suited to quickly create a serious organized experience. Comes with horizontal layout and sidebar option
Location -
@pages/layouts/executive
Styles are imported for each layout SASS file. For example executive styles are imported from
@pages/layouts/executive/executive.component.scss
Note all components are styles are imported directly. You may wish to include what you use or import it directly to the component you use
Last modified 5yr ago