ExporterMetaField
class ExporterMetaField extends MetaFieldname: stringoptions: unknown
Represents the exporter configuration.
Constructors
constructor
Parameters
OverwritesMetaField.constructorProperties
description
public description: string = ''
MetaField.descriptionexporters
readonly public exporters: ExporterClass[]
initial
The initial value of this field.
Inherited fromMetaField.initialname
readonly public name: string
The name of this field displayed in the editor.
Inherited fromMetaField.namespacing
public spacing: boolean = false
MetaField.spacingtype
readonly public type: ObjectConstructor = Object
The type of this field used by the editor to display the correct input.
Events
onChanged
public get onChanged(): SubscribableValueEventTValue
Triggered when the data of this field changes.
Inherited fromMetaField.onChangedonDisabled
public get onDisabled(): SubscribableValueEventboolean
Triggered when the field becomes disabled or enabled.
Inherited fromMetaField.onDisabledonFieldsChanged
public get onFieldsChanged(): SubscribableValueEventMetaFieldanyany[]
Triggered when the nested fields change.
Accessors
options
public get options(): undefinedMetaFieldanyany
Methods
clone
public override clone(): ExporterMetaField
Create a clone of this field.
OverwritesMetaField.clonedescribe
public describedescription: string: ExporterMetaField
Set the description of this field.
Parameters
description: stringThe description.
MetaField.describedisable
public disablevalue: boolean = true: ExporterMetaField
Disable or enable the field in the editor.
Parameters
value: boolean = trueWhether the field should be disabled.
MetaField.disableget
Get the current value.
Inherited fromMetaField.getparse
Convert a serialized value into a runtime type.
Parameters
Inherited fromMetaField.parseserialize
Serialize the value of this field.
OverwritesMetaField.serializeset
Set the current value.
Parameters
OverwritesMetaField.setspace
public spacevalue: boolean = true: ExporterMetaField
Add or remove spacing at the beginning of this field.
Parameters
value: boolean = trueWhether to include the spacing.
MetaField.space