All Projects → flipswitchingmonkey → BlazorFullCalendar

flipswitchingmonkey / BlazorFullCalendar

Licence: other
A Server-Side-Blazor wrapper for FullCalender.io

Programming Languages

C#
18002 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to BlazorFullCalendar

AsteroidsWasm
Collection of applications based on a single C# .NET Standard project running in: Blazor Client (WebAssembly), Blazor Server, Electron, WPF, WinForms, Xamarin
Stars: ✭ 136 (+466.67%)
Mutual labels:  blazor, blazor-server
Blazor.PersianDatePicker
A free JavaScript Jalali (Persian) and Gregorian (Miladi) dual datepicker library for Blazor applications
Stars: ✭ 40 (+66.67%)
Mutual labels:  blazor, blazor-server
MvvmBlazor
A lightweight Blazor Mvvm Library
Stars: ✭ 203 (+745.83%)
Mutual labels:  blazor, blazor-server
Ant Design Blazor
🌈A set of enterprise-class UI components based on Ant Design and Blazor WebAssembly.
Stars: ✭ 3,890 (+16108.33%)
Mutual labels:  blazor, blazor-server
Blazorade-Teams
A Blazor component library that is designed to be used when building applications for Microsoft Teams.
Stars: ✭ 29 (+20.83%)
Mutual labels:  blazor, blazor-server
Matblazor
Material Design components for Blazor and Razor Components
Stars: ✭ 2,599 (+10729.17%)
Mutual labels:  blazor, blazor-server
MudBlazor
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Stars: ✭ 4,539 (+18812.5%)
Mutual labels:  blazor, blazor-server
blazor-tour-of-heroes
The Angular Tour of Heroes tutorial, but done using Blazor instead
Stars: ✭ 17 (-29.17%)
Mutual labels:  blazor, blazor-server
EmbeddedBlazorContent
Library to load embedded content files (js and css) from Blazor libraries in server-side Blazor mode.
Stars: ✭ 39 (+62.5%)
Mutual labels:  blazor, blazor-server
MASA.Blazor
Blazor component library based on Material Design. Support Blazor Server and Blazor WebAssembly.
Stars: ✭ 469 (+1854.17%)
Mutual labels:  blazor, blazor-server
smart-blazor
Blazor UI Components & Examples
Stars: ✭ 32 (+33.33%)
Mutual labels:  blazor, blazor-server
SyncfusionHelpDesk
Blazor Syncfusion Help Desk
Stars: ✭ 38 (+58.33%)
Mutual labels:  blazor, blazor-server
TextEditor
Rich text editor for Blazor applications - Uses Quill JS
Stars: ✭ 156 (+550%)
Mutual labels:  blazor, blazor-server
blazor-docs
Public Documentation for Telerik UI for Blazor components.
Stars: ✭ 42 (+75%)
Mutual labels:  blazor, blazor-server
blazor-ui
A collection of examples related to Telerik UI for Blazor Components: https://www.telerik.com/blazor-ui
Stars: ✭ 182 (+658.33%)
Mutual labels:  blazor, blazor-server
BlazorVirtualScrolling
Blazor components for efficiently rendering large lists and data using virtual scrolling
Stars: ✭ 56 (+133.33%)
Mutual labels:  blazor, blazor-server
FlashCards
Learning Blazor By Creating A Flash Cards Application
Stars: ✭ 17 (-29.17%)
Mutual labels:  blazor, blazor-server
BlazorServerWithDocker
Companion code sample for my blog post - Containerising a Blazor Server App
Stars: ✭ 16 (-33.33%)
Mutual labels:  blazor, blazor-server
BlazorSimpleSurvey
Blazor Simple Survey
Stars: ✭ 39 (+62.5%)
Mutual labels:  blazor, blazor-server
FindRazorSourceFile
This is a set of NuGet packages that makes your Blazor apps display the source .razor file name that generated the HTML element under the mouse cursor when entering the Ctrl + Shift + F hotkeys.
Stars: ✭ 39 (+62.5%)
Mutual labels:  blazor, blazor-server

BlazorFullCalendar

This is a (fully functional, but as of yet partially implemented) Blazor wrapper for the excellent https://fullcalendar.io/ javascript calendar.

image

Getting started

Currently there is no Nuget package yet, so you need to include the project into your own Blazor solution.

In you _Host.cshtml load the required fullcalendar scripts. You probably don't need all of them, depending on what functions you want to use. Refer to the fullcalendar documentation for this please.

<link href='https://unpkg.com/@@fullcalendar/core@@4.4.0/main.min.css' rel='stylesheet' />
<link href='https://unpkg.com/@@fullcalendar/daygrid@@4.4.0/main.min.css' rel='stylesheet' />
<link href='https://unpkg.com/@@fullcalendar/timegrid@@4.4.0/main.min.css' rel='stylesheet' />
<link href='https://unpkg.com/@@fullcalendar/timeline@@4.4.0/main.min.css' rel='stylesheet' />
<link href='https://unpkg.com/@@fullcalendar/resource-timeline@@4.4.0/main.min.css' rel='stylesheet' />

<script src="https://unpkg.com/@@fullcalendar/bootstrap@@4.4.0/main.min.js"></script>
<script src='https://unpkg.com/@@fullcalendar/core@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/interaction@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/daygrid@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/timegrid@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/timeline@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/resource-common@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/resource-timeline@@4.4.0/main.min.js'></script>
<script src='https://unpkg.com/@@fullcalendar/google-calendar@@4.4.0/main.min.js'></script>

Also in you _Host.cshtml add this line to load the custom frontend interop scripts:

<script src="_content/BlazorFullCalendar/BlazorFullCalendar.js"></script>

There is nothing else to be done server-side.

The simplest way to implement the calendar is like this:

<FullCalendar settings="@calendarSettings" />

@code {
    public CalendarSettings calendarSettings { get; set; }  = new CalendarSettings()
    {
        plugins = new[] { CalendarPluginTypes.DayGrid, CalendarPluginTypes.Interaction },
        defaultView = "dayGridWeek",
        timeZone = "UTC",
        eventSources = new List<CalendarSourceFeed>()
        {
            new CalendarSourceFeed() { url = "https://fullcalendar.io/demo-events.json", extraParams = new Dictionary<string, string>(){ { "custom","dummy"} } }
        }
    };
}

Basically what you do is put a FullCalendar component on your Razor page and then pass a CalendarSettings object to the component. CalendarSettings (and the associated CalendarViews etc) can get pretty complex. Have a look at the sample pages. I tried to stay close to the way the javascript configuration works.

Many, but by far not every possible option is implemented yet. If you're missing some option, it should be trivial to add (or just open an Issue and I'll see when I get around to add it).

Currently this release works with v4 of FullCalendar. As I understand it, v5 is around the corner and I plan to support it as well, once it goes live (and stable).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].