BaseSettings | @jupyterlab (original) (raw)
Type Parameters
Hierarchy (View Summary)
- BaseSettings
Index
Constructors
constructor
- new BaseSettings<T extends IProperty = IProperty>(
options: { schema: T },
): BaseSettings<T> Type Parameters
Parameters
- options: { schema: T }
Returns BaseSettings<T>
Accessors
schema
Methods
default
- default(key?: string): undefined | PartialJSONValue
Parameters
Optional
key: string
Returns undefined | PartialJSONValue
A calculated default JSON value for a specific setting.
isDefault
- isDefault(user: ReadonlyPartialJSONObject): boolean
Returns boolean