Initial Commit ...
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{{! templates/page/page.page.html.hbs }}
|
||||
<!-- -->
|
||||
<!-- Page Presenter -->
|
||||
<!-- -->
|
||||
<v-page-presenter
|
||||
[loading]="loading"
|
||||
[containerBase]="this"
|
||||
[uiDisabled]="uiDisabled"
|
||||
[contentTemplate]="contentTemplate"
|
||||
></v-page-presenter>
|
||||
|
||||
<!-- -->
|
||||
<!-- Page Content -->
|
||||
<!-- -->
|
||||
<ng-template #contentTemplate>
|
||||
<!-- TODO: Add content -->
|
||||
</ng-template>
|
||||
@@ -0,0 +1,2 @@
|
||||
// __NAME__.page.scss
|
||||
// TODO: Add styles
|
||||
@@ -0,0 +1,29 @@
|
||||
{{! 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
|
||||
}
|
||||
Reference in New Issue
Block a user