And for every 15 minutes, you'll have a notification as below
Config
After setting up some simple configurations, you can start using Reminder as you see fit.
reminder.disable
Type: boolean
Default: false
Even if you have a Reminder, sometimes you don't want it to bother you. Setting reminder.disable: true will disable Reminder totally.
reminder.routine
Type: RoutineInfo[]
export interface RoutineInfo {
/**
* Name for routine, will be shown as the title of infomation
*/
name: string
/**
* Interval for routine.
*
* If it's a number, then the unit is minutes.
* And if it's a plain string, the unit is also minutes.
* Otherwise, the unit must be one of ['ms', 's', 'sec', 'secs', 'm', 'min', 'mins',
* 'h', 'hr', 'hrs']
*/
interval: number | string
/**
* Description of routine, will be shown as the main content of infomation
*/
description?: string
/**
* Remind in silent version
*
* By default, notification will be shown in a modal.
* Setting true will notify as a message.
* @default false
*/
silent?: boolean
}
Default: []
Routines that Reminder will remind you of what you need to do at specific intervals.
Command
Reminder also provides some simple commands for you, like stop or recover Reminder and so on. Feel free to explore it.