Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

Semantic-UI-Calendar

> 编程语言
Open source

Calendar module for Semantic UI

800 stars0 likes0 views
WebsiteGitHub

About

Calendar module for Semantic UI

No longer maintained. See Fomantic-UI for a more recently updated version of this module.

Semantic-UI-Calendar

Calendar module for Semantic UI. See https://jsbin.com/ruqakehefa/ for example usage.

This was originally a PR for Semantic UI: https://github.com/Semantic-Org/Semantic-UI/pull/3256.

Installation

Install using bower:

bower install --save semantic-ui-calendar

Install using npm:

bash
npm install --save semantic-ui-calendar

Include javascript and css in html:

xml

Compiling CSS from LESS

If you want to theme the calendar, or change some of the variables from the default theme, you can compile the LESS source using your favourite build tool.

Import the calendar.less file into your app.

less
@import 'definitions/modules/calendar';

Ensure that this module's src directory is included when compiling the LESS:

javascript
  lessOptions: {
    paths: [
      'bower_components/semantic-ui-calendar/src',
      ...
    ]
  }

Behavior

These functions can be called the same way you call Semantic UI behavior functions:

javascript
$('#mycalendar').calendar('behavior name', argumentOne, argumentTwo);
Behavior Description
refresh Refresh the calendar.
popup(arguments) Call the popup module (e.g. passing 'show' will show the calendar popup).
focus Focus the calendar input.
blur Blur the calendar input.
clear Clear the selected date.
get date Get the selected date.
set date(date, updateInput = true, fireChange = true) Set the selected date. Pass false to updateInput to disable updating the input. Pass false to fireChange to disable the onChange callback for this change.
get mode Get the current selection mode (year, month, day, hour, minute).
set mode(mode) Set the current selection mode (year, month, day, hour, minute).
get startDate Get the start date for range selection.
set startDate(date) Set the start date for range selection.
get endDate Get the end date for range selection.
set endDate(date) Set the end date for range selection.
get focusDate Get the currently focused date.
set focusDate(date) Set the currently focused date.

Settings

The following settings are supported by this module:

…

Issues· 61 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言