Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@forter/calendar

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/calendar

calendar from Forter Components

latest
Source
npmnpm
Version
1.6.0
Version published
Weekly downloads
2
100%
Maintainers
3
Weekly downloads
 
Created
Source

fc-calendar

An element by Forter

Usage

<script>
   import '@forter/calendar';
</script>

<fc-calendar>
</fc-calendar>
## Examples

```html

<!-- Sample: max year and date -->

<fc-calendar pickerOptions='{"dropdowns": {"maxYear": 2024, "minYear": 2015, "months": true, "years": true}, "maxDate": "2024-04-04"}'>
</fc-calendar>

Properties

PropertyAttributeTypeDefaultDescription
calendarsnever[]
datesdatesany[]List of selected dates. example: []
disableDatePickerRangeLimitnumber
formatformatstring"YYYY-MM-DD"Date Fromat. example: DD-MM-YYYY
fullYearHtml"" | TemplateResult
optionsany
pickerOptionspickerOptions{}{}Options for litepicker to override the defaults
singlesinglebooleanToggle single date or date-range. example: true

Events

EventDescription
changewhen dates picked. example: [] method: fireDatePickedEvent

CSS Custom Properties

PropertyDescription
--fc-calendar-bg-colorbackground color. example: pink
--fc-calendar-day-colorday color. example: pink
--fc-calendar-day-color-hoverday hover color. example: pink
--fc-calendar-day-is-end-bgend day range background color. example: pink
--fc-calendar-day-is-end-colorend day range text color. example: pink
--fc-calendar-day-is-in-rangeselected range background color. example: pink
--fc-calendar-day-is-start-bgstart day range background color. example: pink
--fc-calendar-day-is-start-colorstart day range text color. example: pink
--fc-calendar-day-is-today-colortoday day color. example: pink
--fc-calendar-day-widthcalendar day width. example: 10px
--fc-calendar-month-buttonnext/previous month color. example: pink
--fc-calendar-month-button-hovernext/previous month arrow hover color. example: pink
--fc-calendar-month-weekday-colorweekday color. example: pink

Keywords

web-components

FAQs

Package last updated on 10 Jun 2025

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