New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fullcalendar/bootstrap

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/bootstrap

Bootstrap 4 theme for FullCalendar

7.0.0-beta.1
Source
npm
Version published
Weekly downloads
36K
-4.43%
Maintainers
0
Weekly downloads
 
Created
Source

FullCalendar Bootstrap 4 Plugin

Bootstrap 4 theme for FullCalendar

For Bootstrap 5, use the @fullcalendar/bootstrap5 package

Installation

First, ensure the necessary Bootstrap packages are installed:

npm install bootstrap@4 @fortawesome/fontawesome-free

Then, install the FullCalendar core package, the Bootstrap plugin, and any other plugins (like daygrid):

npm install @fullcalendar/core @fullcalendar/bootstrap @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugins and options:

import { Calendar } from '@fullcalendar/core'
import bootstrapPlugin from '@fullcalendar/bootstrap'
import dayGridPlugin from '@fullcalendar/daygrid'

// import third-party stylesheets directly from your JS
import 'bootstrap/dist/css/bootstrap.css'
import '@fortawesome/fontawesome-free/css/all.css' // needs additional webpack config!

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    bootstrapPlugin,
    dayGridPlugin
  ],
  themeSystem: 'bootstrap', // important!
  initialView: 'dayGridMonth'
})

calendar.render()

Keywords

calendar

FAQs

Package last updated on 10 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts