Skip to content

@vttforge/core / SystemSettingOptions

Interface: SystemSettingOptions<T>

Extends

Type Parameters

T

T

Properties

choices?

readonly optional choices?: Readonly<Record<string, string>>

Inherited from

SettingConfig.choices


config?

readonly optional config?: boolean

Inherited from

SettingConfig.config


default?

optional default?: T

The initial value. Omit it and the accessor's own initializer is used: static accessor homebrew = false registers with default: false.


hint?

readonly optional hint?: string

Inherited from

SettingConfig.hint


key?

optional key?: string

The setting key. Defaults to the accessor's name.


name?

readonly optional name?: string

Inherited from

SettingConfig.name


namespace

namespace: string

The namespace to register under: your system or module id.


onChange?

readonly optional onChange?: (value) => void

Parameters

value

T

Returns

void

Inherited from

Omit.onChange


range?

readonly optional range?: object

max

readonly max: number

min

readonly min: number

step?

readonly optional step?: number

Inherited from

Omit.range


scope

readonly scope: SettingScope

Inherited from

SettingConfig.scope


type

readonly type: unknown

Inherited from

SettingConfig.type

MIT licensed.