Skip to content

Profectus / features/reset / ResetOptions

Interface: ResetOptions ​

An object that configures a features/clickables/clickable.Clickable.

Properties ​

onReset? ​

optional onReset: VoidFunction

A function that is called when the reset is performed.

Defined in ​

profectus/src/features/reset.ts:27


thingsToReset ​

thingsToReset: MaybeRefOrGetter<unknown[]>

List of things to reset. Can include objects which will be recursed over for persistent values.

Defined in ​

profectus/src/features/reset.ts:25