Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@forter/calendar

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/calendar

calendar from Forter Components

  • 1.3.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
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

FAQs

Package last updated on 13 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc