src/lib/markup-kit/modals/fill/fill.component.ts
Fill Component for a modal window.
Example of usage:
<mefdev-fill-modal #pin_modal>
<!-- Modal header content -->
<ng-template #modal_header>
<!-- Header content goes here -->
</ng-template>
<!-- Modal footer content -->
<ng-template #modal_footer>
<!-- Footer content goes here -->
</ng-template>
</mefdev-fill-modal>
OnInit
selector | mefdev-fill-modal |
styleUrls | ./fill.component.scss |
templateUrl | ./fill.component.html |
Properties |
|
Methods |
|
Inputs |
Outputs |
Accessors |
constructor()
|
show |
Type : boolean
|
Input parameter that determines whether to show the modal window. |
getModalState |
getModalState()
|
Shows the modal state. Return a boolean value indicating if the modal is closed(false), or open(true)
Returns :
boolean
|
Public hideModal |
hideModal()
|
Hides the modal. Call this method to close the modal window.
Returns :
void
|
Public showModal |
showModal()
|
Shows the modal. Call this method to open the modal window.
Returns :
void
|
Protected Optional dialog |
Type : ElementRef
|
Decorators :
@ViewChild('dialog', {static: false})
|
Protected visible |
Type : boolean
|
Default value : false
|
show | ||||||
setshow(val: boolean)
|
||||||
Input parameter that determines whether to show the modal window.
Parameters :
Returns :
void
|