Skip to content

Home > d3-blueprint > ConfigManager

ConfigManager class

Manages named configuration properties with optional getter/setter transforms.

Signature:

typescript
export declare class ConfigManager

Methods

Method

Modifiers

Description

define(name, options)

Defines a new config property.

get(name)

Returns the value of a config property.

getAll()

Returns all config values as a plain object.

has(name)

Returns true if the named config property exists.

set(name, value)

Sets the value of a config property.

setBatch(values)

Sets multiple config properties at once.