src/ui/form/close-floating-window-dialog/close-floating-window-dialog.component.ts
DialogContentBase
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | app-close-floating-window-dialog |
| styleUrls | ./close-floating-window-dialog.component.css |
| templateUrl | ./close-floating-window-dialog.component.html |
Properties |
Methods |
constructor(dialog: DialogRef, serviceAdapter: SmartServiceAdapter, domSanitizer: DomSanitizer)
|
||||||||||||
|
Parameters :
|
| cancel |
cancel()
|
|
Returns :
void
|
| no |
no()
|
|
Returns :
void
|
| yes |
yes()
|
|
Returns :
void
|
| questionMarkUrl |
Type : SafeResourceUrl
|
<!--
**************************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**************************************************************************
--------------------------------------------------------------------------
File : close-floating-window-dialog.component.html
Purpose : Template for close floating window dialog.
Author(s) : Oana Sucigan
Created : Sep 10, 2021
--------------------------------------------------------------------------
-->
<div class="container-fluid">
<div class="row">
<div class="col-2">
<img [src]="questionMarkUrl">
</div>
<div class="col-10">
<div class="row">
<span>Current changes have not been saved.</span>
</div>
<div class="row">
<span>Do you wish to save the current values before you close the window?</span>
</div>
</div>
</div>
</div>
<kendo-dialog-actions>
<button kendoButton (click)="yes()">Yes</button>
<button kendoButton (click)="no()">No</button>
<button kendoButton (click)="cancel()" themeColor="primary">Cancel</button>
</kendo-dialog-actions>
./close-floating-window-dialog.component.css
/**********************************************************************
* Copyright © 2006-2026 by Consultingwerk Ltd. ("CW") - *
* www.consultingwerk.com and other contributors as listed *
* below. All Rights Reserved. *
* *
* Software is distributed on an "AS IS", WITHOUT WARRANTY OF ANY *
* KIND, either express or implied. *
* *
* Contributors: *
* *
**********************************************************************/
/*------------------------------------------------------------------------
File : close-floating-window-dialog.component.css
Purpose : Styles for close floating window dialog.
Author(s) : Oana Sucigan
Created : Sep 10, 2021
----------------------------------------------------------------------*/
::ng-deep .k-dialog-close {
display: none !important;
}
.row > .col-2 {
padding-left: 20px;
padding-top: 20px;
}
.col-10 .row {
padding: 10px 20px 10px 0px;
}
::ng-deep .k-window-content.k-dialog-content {
padding: 12px 12px !important;
}