-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #339 from TAMULib/sprint17-for-tl-modal
Modified wvre-button to wvr-button-component for tl-modal
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
16 changes: 8 additions & 8 deletions
16
projects/wvr-elements/src/lib/wvr-modal/wvr-modal.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
<wvr-modal-wrapper #animationRoot> | ||
|
||
<wvre-button | ||
<wvr-button-component | ||
[btnTxt]="btnText" | ||
[dispatchAction]="'Modal.openModal'" | ||
[dispatchActionProps]="openProps" | ||
[themeVariant]="btnThemeVariant"> | ||
</wvre-button> | ||
</wvr-button-component> | ||
|
||
<ng-template #modalTemplate let-modal> | ||
<modal-content></modal-content> | ||
</ng-template> | ||
|
||
<modal-container #modalContent class="wvr-hidden wvr-bootstrap"> | ||
<ng-container *ngTemplateOutlet="modalHeader"></ng-container> | ||
<ng-container *ngTemplateOutlet="modalBody"></ng-container> | ||
<ng-container *ngTemplateOutlet="modalFooter"></ng-container> | ||
</modal-container> | ||
|
||
<!-- modalHeader --> | ||
<ng-template #modalHeader> | ||
<div class="modal-header {{additionalClasses('header')}}"> | ||
<h4 class="modal-title" id="modal-basic-title">{{title}}</h4> | ||
</div> | ||
</ng-template> | ||
|
||
<!-- modalBody --> | ||
<ng-template #modalBody> | ||
<div class="modal-body"> | ||
<ng-content select="wvre-modal-body"></ng-content> | ||
</div> | ||
</ng-template> | ||
|
||
<!-- modalFooter --> | ||
<ng-template #modalFooter> | ||
<div class="modal-footer {{additionalClasses('footer')}}"> | ||
<ng-content select="wvre-modal-footer"></ng-content> | ||
</div> | ||
</ng-template> | ||
</ng-template> | ||
</wvr-modal-wrapper> |