obsidian/setting-components/time-component
Contains a component that displays and edits a time.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| TimeComponent | A component that displays and edits a time. You can add this component using SettingEx.addTime. In order to add the styles for the component, use initPluginContext in your plugin’s onload() function. Alternatively, you can copy styles from https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css. |