Signature
Import
Methods
Signature
addBooleanSwitch<TSettings = any>(config: PanelOptionsEditorConfig<TOptions, TSettings, boolean>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings, boolean> |
Returns:
this
addColorPicker method
Signature
addColorPicker<TSettings = any>(config: PanelOptionsEditorConfig<TOptions, TSettings, string>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings, string> |
Returns:
this
addDashboardPicker method
Signature
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings & FieldNamePickerConfigSettings, string> |
Returns:
this
addFieldNamePicker method
Signature
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings & FieldNamePickerConfigSettings, string> |
Returns:
this
addMultiSelect<TOption, TSettings extends SelectFieldConfigSettings<TOption>>(config: PanelOptionsEditorConfig<TOptions, TSettings, TOption>): this;
Parameters
Returns:
this
addNestedOptions method
Signature
addNestedOptions<Sub>(opts: NestedPanelOptions<Sub>): this;
Parameters
Parameter | Type | Description |
---|---|---|
opts | NestedPanelOptions<Sub> |
Returns:
this
addNumberInput method
Signature
addNumberInput<TSettings>(config: PanelOptionsEditorConfig<TOptions, TSettings & NumberFieldConfigSettings, number>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings & NumberFieldConfigSettings, number> |
Returns:
this
addRadio method
Signature
addRadio<TOption, TSettings extends SelectFieldConfigSettings<TOption>>(config: PanelOptionsEditorConfig<TOptions, TSettings, TOption>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings, TOption> |
Returns:
this
Signature
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings, TOption> |
Returns:
this
addSliderInput method
Parameters
Returns:
this
addStringArray method
Signature
addStringArray<TSettings>(config: PanelOptionsEditorConfig<TOptions, TSettings & StringFieldConfigSettings, string[]>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings & StringFieldConfigSettings, string[]> |
Returns:
this
addTextInput method
Signature
addTextInput<TSettings>(config: PanelOptionsEditorConfig<TOptions, TSettings & StringFieldConfigSettings, string>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings & StringFieldConfigSettings, string> |
Returns:
this
Signature
addTimeZonePicker<TSettings = any>(config: PanelOptionsEditorConfig<TOptions, TSettings, string>): this;
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings, string> |
Returns:
this
addUnitPicker method
Signature
Parameters
Parameter | Type | Description |
---|---|---|
config | PanelOptionsEditorConfig<TOptions, TSettings & UnitFieldConfigSettings, string> |
Returns: