mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
31 lines
1,011 B
HTML
31 lines
1,011 B
HTML
<div class="row">
|
|
<div class="col-md-12 col-lg-12 col-xxxl-6">
|
|
<nb-card>
|
|
<nb-card-header>Window Form</nb-card-header>
|
|
<nb-card-body>
|
|
<button (click)="openWindowForm()" nbButton matRipple>Open window form</button>
|
|
|
|
<button (click)="openWindow(contentTemplate)" nbButton matRipple>Open window with template</button>
|
|
</nb-card-body>
|
|
</nb-card>
|
|
</div>
|
|
|
|
<div class="col-md-12 col-lg-12 col-xxxl-6">
|
|
<nb-card>
|
|
<nb-card-header>Window Without Backdrop</nb-card-header>
|
|
<nb-card-body>
|
|
<button (click)="openWindow(contentTemplate)" nbButton matRipple>Open window with backdrop</button>
|
|
|
|
<button (click)="openWindowWithoutBackdrop()" nbButton matRipple>Open window without backdrop</button>
|
|
</nb-card-body>
|
|
</nb-card>
|
|
</div>
|
|
</div>
|
|
|
|
<ng-template #contentTemplate let-data>
|
|
<p>Here is the text provided via config: "{{ data.text }}"</p>
|
|
</ng-template>
|
|
|
|
<ng-template #disabledEsc>
|
|
Disabled close on escape click.
|
|
</ng-template>
|