Packages
A Phoenix LiveView component library for rendering interactive calendars. This library builds on EventCalendar by Vlad Kurko: https://github.com/vkurko/calendar/ Thanks to the EventCalendar project for providing a lightweight, flexible calendar core.
Current section
Files
Jump to
Current section
Files
calendar_component
index.js
index.js
// Main entry point for calendar_component JavaScript hooks
// This file is designed to be imported by Phoenix applications using this library
// Import the compiled hooks
import CalendarHooks from "./priv/static/assets/calendar-hooks.js";
// Export as ES6 default
export default CalendarHooks;
// Named export for convenience
export const Hooks = CalendarHooks;
export const LiveCalendar = CalendarHooks.LiveCalendar;