Interface: FormElementWithOptionsInterface
Extends
Methods
destroy()
destroy(): void;
Returns
void
Inherited from
destroyEditor()
destroyEditor(): void;
Returns
void
Inherited from
FormElementInterface
.destroyEditor
getData()
getData(): object;
Returns
object
name
name: string;
value
value: any;
Inherited from
getDataForTemplate()
getDataForTemplate(): any;
Returns
any
Inherited from
FormElementInterface
.getDataForTemplate
getEditor()
getEditor(): HTMLElement;
Returns
HTMLElement
Inherited from
FormElementInterface
.getEditor
getSchema()
getSchema(): any;
Returns
any
Inherited from
FormElementInterface
.getSchema
getValue()
getValue(): any;
Returns
any
Inherited from
hide()
hide(): void;
Returns
void
Inherited from
init()
init(): void;
Returns
void
Inherited from
initEditor()
initEditor(): void;
Returns
void
Inherited from
FormElementInterface
.initEditor
redraw()
redraw(): void;
Returns
void
Inherited from
setDomElements()
setDomElements(): void;
Returns
void
Inherited from
FormElementInterface
.setDomElements
setEditorEventHandlers()
setEditorEventHandlers(): void;
Returns
void
Inherited from
FormElementInterface
.setEditorEventHandlers
setEventHandlers()
setEventHandlers(): void;
Returns
void
Inherited from
FormElementInterface
.setEventHandlers
setExternal()
setExternal(params): void;
Parameters
Parameter | Type |
---|---|
params | any |
Returns
void
Inherited from
FormElementInterface
.setExternal
setInputValue()
setInputValue(value): void;
Parameters
Parameter | Type |
---|---|
value | any |
Returns
void
Inherited from
FormElementInterface
.setInputValue
setValue()
setValue(value, updateInput?): void;
Parameters
Parameter | Type |
---|---|
value | any |
updateInput? | boolean |
Returns
void
Inherited from
show()
show(): void;
Returns
void
Inherited from
Properties
asyncOptions
asyncOptions: boolean;
db_type
db_type: string;
Inherited from
domElements
domElements: object;
Index Signature
[key: string]: HTMLElement
edit?
optional edit: HTMLElement;
main?
optional main: HTMLElement;
Inherited from
FormElementInterface
.domElements
editMode
editMode: boolean;
Inherited from
events
events: Events;
Inherited from
external
external: object;
Index Signature
[key: string]: any
Inherited from
filtersMode
filtersMode: boolean;
Inherited from
FormElementInterface
.filtersMode
formBuilder
formBuilder: FormBuilder;
Inherited from
FormElementInterface
.formBuilder
help?
optional help: string;
Inherited from
inputs
inputs: object;
Index Signature
[key: string]:
| HTMLSelectElement
| HTMLInputElement
| HTMLTextAreaElement
| HTMLButtonElement
| RadioNodeList
Inherited from
label
label: string;
Inherited from
mapIsGeo
mapIsGeo: boolean;
Inherited from
name
name: string;
Inherited from
nameChanged
nameChanged: boolean;
Inherited from
FormElementInterface
.nameChanged
namespace
namespace: string;
Inherited from
FormElementInterface
.namespace
options
options: FormElementOptions[];
Overrides
optionsDict
optionsDict: object;
Index Signature
[key: string]: any
Overrides
FormElementInterface
.optionsDict
optionsSource
optionsSource: object;
fieldCategory
fieldCategory: "meta" | "taxonomy" | "custom";
fieldName
fieldName: string;
name
name: string;
type
type: "object" | "region" | "post";
parameterName?
optional parameterName: string;
Inherited from
FormElementInterface
.parameterName
parameterNameShort?
optional parameterNameShort: string;
Inherited from
FormElementInterface
.parameterNameShort
placeholder?
optional placeholder: string;
Inherited from
FormElementInterface
.placeholder
protected?
optional protected: boolean;
Inherited from
FormElementInterface
.protected
readonly?
optional readonly: boolean;
Inherited from
searchable?
optional searchable: boolean;
Inherited from
FormElementInterface
.searchable
templates
templates: object;
Index Signature
[key: string]: (data) => string
edit()?
optional edit: (data) => string;
Parameters
Parameter | Type |
---|---|
data | Record <string , any > |
Returns
string
main()?
optional main: (data) => string;
Parameters
Parameter | Type |
---|---|
data | Record <string , any > |
Returns
string
Inherited from
FormElementInterface
.templates
type
type: string;
Inherited from
value
value: any;
Inherited from
visible?
optional visible: boolean;