WidgetSettingsFactory
Methods
public static inherit($parentWidgetClass):WidgetSettingsFactory
Create a new factory instance and initialize values from given widget class.
Type |
Name |
Description |
|
public static create($data = []):WidgetSettingsFactory
Create a new factory instance with initial values.
Type |
Name |
Description |
|
public createSetting($key):BaseSettingFactory
Create a generic widget settings entry.
Type |
Name |
Description |
|
The key of the new settings entry. If key already exists, previous entry will be overridden. |
public createContainer($key):ContainerSettingFactory
Create a container entry which may contain nested settings.
Type |
Name |
Description |
|
public createVerticalContainer($key):ContainerSettingFactory
Create a vertical container
Type |
Name |
Description |
|
public createHorizontalContainer($key):ContainerSettingFactory
Create a horizontal container
Type |
Name |
Description |
|
public createText($key):TextSettingFactory
Create a text input setting
Type |
Name |
Description |
|
public createCheckbox($key):CheckboxSettingFactory
Create a checkbox setting
Type |
Name |
Description |
|
public createColorPalette():ColorPaletteSettingFactory
Create a color setting
public createDate($key):DateSettingFactory
Create a date input setting
Type |
Name |
Description |
|
public createFile($key):FileSettingFactory
Create a file picker setting
Type |
Name |
Description |
|
public createTextarea($key):TextareaSettingFactory
Create a textarea input setting
Type |
Name |
Description |
|
public createNumber($key):BaseSettingFactory
Type |
Name |
Description |
|
public createDouble($key):DoubleSettingFactory
Create a double input setting
Type |
Name |
Description |
|
public createSelect($key):SelectSettingFactory
Create a dropdown setting
Type |
Name |
Description |
|
public createSuggestion($key):SuggestionSettingFactory
Create a dropdown setting
Type |
Name |
Description |
|
public createCategory($key):CategorySettingFactory
Create a category select setting
Type |
Name |
Description |
|
public createColor($key):BaseSettingFactory
Type |
Name |
Description |
|
public createSlider($key):SliderSettingFactory
Create a slider setting
Type |
Name |
Description |
|
public createCheckboxGroup($key):CheckboxGroupSettingFactory
Create a checkbox group setting
Type |
Name |
Description |
|
public createRadioGroup($key):RadioGroupSettingFactory
Create a checkbox group setting
Type |
Name |
Description |
|
public createUrl($key):UrlSettingFactory
Create a url picker
Type |
Name |
Description |
|
public createNoteEditor($key):EditorSettingFactory
Type |
Name |
Description |
|
public createCodeEditor($key):EditorSettingFactory
Type |
Name |
Description |
|
public createCustomClass():CustomClassSettingFactory
public createIcon():IconSettingFactory
public createHeight():HeightSettingFactory
public createAlignment():AlignmentSettingFactory
public toArray()