29 lines
874 B
Handlebars
29 lines
874 B
Handlebars
{{! templates/page/page.page.ts.hbs }}
|
|
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
import { XSideType } from 'x-framework-components';
|
|
import { VPageComponent } from 'src/app/views/v-page/v-page.component';
|
|
|
|
@Component({
|
|
selector: 'app-__NAME__',
|
|
templateUrl: './__NAME__.page.html',
|
|
styleUrls: ['./__NAME__.page.scss'],
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
})
|
|
// tslint:disable-next-line:component-class-suffix
|
|
export class __CLASS__Page extends VPageComponent {
|
|
//
|
|
//#region Props ...
|
|
hasSide = true;
|
|
toolbarShowSubTitle = true;
|
|
showToolbarEndSlot = true;
|
|
showToolbarContent = false;
|
|
titleRes = this.AppResourceIDs.__TITLE_RES__;
|
|
toolbarSubTitle = this.resourceProvider(this.titleRes);
|
|
|
|
/**
|
|
* use this for Menu always Visible ...
|
|
*/
|
|
toggleMenuWhen = '';
|
|
sideType = XSideType.Overlay;
|
|
//#endregion
|
|
} |