Skip to content

setting-components/week-component

Contains a component that displays and edits a week.

Class Description
WeekComponent A component that displays and edits a Week. You can add this component using SettingEx.addWeek. In order to add the styles for the component, use initPluginContext in your plugin’s onload() function. Alternatively, you can copy styles from https://unpkg.com/@mnaoumov/obsidian-lib/dist/styles.css.
Interface Description
IsoWeek An ISO 8601 week date.