ant-design-blazor/components/date-picker/internal/AntDatePickerFooter.razor

11 lines
291 B
Plaintext
Raw Normal View History

@namespace AntBlazor.Internal
<div class="@(DatePicker.PrefixCls)-footer">
<a class="@(DatePicker.PrefixCls)-today-btn" @onclick="e => DatePicker.ChangePickerValue(DateTime.Now)">今天</a>
</div>
@code {
[CascadingParameter]
public AntDatePicker DatePicker { get; set; }
}