SessionOptions
Defined in: session.ts:32
Properties
Section titled “Properties”alarms
Section titled “alarms”alarms:
SessionAlarms
Defined in: session.ts:34
autoLockMs?
Section titled “autoLockMs?”
optionalautoLockMs?:number
Defined in: session.ts:36
Lock this long after the last touch / unlock. Default 15 min; 0 disables the timer (lock only on browser exit or explicit lock; stored as expiresAt: null).
optionalname?:string
Defined in: session.ts:38
Storage key and alarm name prefix.
optionalnow?: () =>number
Defined in: session.ts:40
Clock, injectable for tests.
Returns
Section titled “Returns”number
storage
Section titled “storage”storage:
SessionStorage
Defined in: session.ts:33