mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 13:02:00 +08:00
feat(calendar): add now indicator
This commit is contained in:
parent
2b24673019
commit
4d55374784
@ -127,6 +127,7 @@ export default class CalendarView extends ViewMode {
|
|||||||
weekNumbers: this.parentNote.hasAttribute("label", "calendar:weekNumbers"),
|
weekNumbers: this.parentNote.hasAttribute("label", "calendar:weekNumbers"),
|
||||||
locale: await CalendarView.#getLocale(),
|
locale: await CalendarView.#getLocale(),
|
||||||
height: "100%",
|
height: "100%",
|
||||||
|
nowIndicator: true,
|
||||||
eventContent: (e) => {
|
eventContent: (e) => {
|
||||||
let html = "";
|
let html = "";
|
||||||
const { iconClass, promotedAttributes } = e.event.extendedProps;
|
const { iconClass, promotedAttributes } = e.event.extendedProps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user