File tree Expand file tree Collapse file tree
src/BootstrapBlazor/Components/Modal Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 @if (ShowFooter )
5151 {
5252 <div class =" modal-footer" >
53+ @if (FooterContentTemplate != null )
54+ {
55+ <div class =" modal-footer-content" >
56+ @FooterContentTemplate
57+ </div >
58+ }
5359 @if (ShowCloseButton )
5460 {
5561 <Button Color =" Color.Secondary" Text =" @CloseButtonText" Icon =" @CloseButtonIcon" OnClickWithoutRender =" OnClickCloseAsync" ></Button >
Original file line number Diff line number Diff line change @@ -200,6 +200,12 @@ public partial class ModalDialog : IHandlerException
200200 [ Parameter ]
201201 public RenderFragment ? FooterTemplate { get ; set ; }
202202
203+ /// <summary>
204+ /// Gets or sets the footer content template. Default is null.
205+ /// </summary>
206+ [ Parameter ]
207+ public RenderFragment ? FooterContentTemplate { get ; set ; }
208+
203209 /// <summary>
204210 /// 获得/设置 ModalHeader 组件
205211 /// </summary>
You can’t perform that action at this time.
0 commit comments