Skip to content
项目

danheron/Heron.MudCalendar

在 GitHub 查看

关于

Calendar component for MudBlazor

效率与自动化

这些数字如何统计

可以做什么

  • Multiple views (month, week, work week, and day)
  • Customizable events
  • Easy integration with your existing MudBlazor project

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Heron.MudCalendar

GitHub Workflow Status Codecov GitHub GitHub last commit Nuget version

A simple but powerful calendar component for MudBlazor.

Features

  • Multiple views (month, week, work week, and day)
  • Customizable events
  • Easy integration with your existing MudBlazor project

Documentation

Documentation and examples are available here.

Getting Started

MudCalendar relies on MudBlazor. Follow the installation instructions for MudBlazor

Once your project is set up with MudBlazor you can install the MudCalendar package.

dotnet add package Heron.MudCalendar

Add the following to _Imports.razor.

@using Heron.MudCalendar

Add style and script references (optional). This step shouldn't be necessary as the component injects the references into the page as needed. However, if you find that calendar is not displaying properly then add the following to your index.html or _Layout.cshtml/_Host.cshtml

<link href="_content/Heron.MudCalendar/Heron.MudCalendar.min.css" rel="stylesheet" />
...
<script type="module" src="_content/Heron.MudCalendar/Heron.MudCalendar.min.js"></script>

Add the MudCalendar component to your razor page/component.

<MudCalendar T="CalendarItem"/>

Check out the examples of how to use and customize the MudCalendar component.

Support

For any issues or feature requests, please open a new issue on GitHub.

Building From Source

The project includes two solution files:

  • Heron.MudCalendar.sln
  • Heron.MudCalendarWithDocs.sln

The Heron.MudCalendar.sln solution contains the MudCalendar project and Unit Test projects.

The Heron.MudCalendarWithDocs.sln solution also contains the Docs project. This is a bit more complicated to compile because it uses the MudBlazor.Docs project. To build this project, you need to clone the danheron/MudBlazor repo and checkout the mudcalendar branch.

The repositories should be cloned into the same parent directory e.g.

MyProjects
|-> MudBlazor
|-> Heron.MudCalendar

Build the projects in the following order:

  1. Heron.MudCalendar (Debug)
  2. Heron.MudCalendar (Release)
  3. MudBlazor.Docs (Release)
  4. Heron.MudCalendar.Docs

探索相关项目

加载中…