Skip to content

SettingEx.addFile method

SettingEx › addFile

Adds a FileComponent to the setting.

Signature:

addFile(cb: (file: FileComponent) => void): this

Parameters:

ParameterTypeDescription
cb(file: FileComponent) => voidThe callback to call with the component.

Returns: thisThe setting instance.