@serenity-is/corelib / MultipleImageUploadEditor
• P extends ImageUploadEditorOptions
= ImageUploadEditorOptions
new MultipleImageUploadEditor<
P
>(props
):MultipleImageUploadEditor
<P
>
EditorProps
<P
>
MultipleFileUploadEditor
.constructor
src/ui/editors/uploadeditors.tsx:465
readonly
domNode:HTMLElement
MultipleFileUploadEditor
.domNode
hiddenInput
protected
hiddenInput:HTMLInputElement
MultipleFileUploadEditor
.hiddenInput
src/ui/editors/uploadeditors.tsx:284
readonly
idPrefix:string
MultipleFileUploadEditor
.idPrefix
protected
readonly
options:WidgetProps
<EditorProps
<P
>>
MultipleFileUploadEditor
.options
protected
progress:HTMLElement
MultipleFileUploadEditor
.progress
src/ui/editors/uploadeditors.tsx:283
readonly
uniqueName:string
MultipleFileUploadEditor
.uniqueName
readonly
static
isComponent:true
=true
MultipleFileUploadEditor
.isComponent
static
typeInfo:ClassTypeInfo
<"Serenity.EditorWidget"
>
MultipleFileUploadEditor
.typeInfo
src/ui/editors/editorwidget.ts:17
get element():
Fluent
<HTMLElement
>
Returns a Fluent(this.domNode) object
Fluent
<HTMLElement
>
MultipleFileUploadEditor
.element
get jsonEncodeValue():
boolean
boolean
set jsonEncodeValue(
value
):void
boolean
void
MultipleFileUploadEditor
.jsonEncodeValue
src/ui/editors/uploadeditors.tsx:459
get props():
WidgetProps
<P
>
WidgetProps
<P
>
MultipleFileUploadEditor
.props
get readOnly():
boolean
boolean
set readOnly(
value
):void
boolean
void
MultipleFileUploadEditor
.readOnly
src/ui/editors/editorwidget.ts:23
get value():
UploadedFile
[]
set value(
v
):void
void
MultipleFileUploadEditor
.value
src/ui/editors/uploadeditors.tsx:415
protected
addCssClass():void
void
MultipleFileUploadEditor
.addCssClass
protected
addFileButtonText():string
string
MultipleFileUploadEditor
.addFileButtonText
src/ui/editors/uploadeditors.tsx:336
addValidationRule(
rule
,uniqueName
?):void
(input
) => string
string
void
MultipleFileUploadEditor
.addValidationRule
addValidationRule(
uniqueName
,rule
):void
string
(input
) => string
void
MultipleFileUploadEditor
.addValidationRule
protected
afterRender(callback
):void
() => void
void
MultipleFileUploadEditor
.afterRender
protected
byId<TElement
>(id
):Fluent
<TElement
>
• TElement extends HTMLElement
= HTMLElement
string
Fluent
<TElement
>
change(
handler
):void
(e
) => void
void
MultipleFileUploadEditor
.change
changeSelect2(
handler
):void
(e
) => void
void
MultipleFileUploadEditor
.changeSelect2
protected
deferRender():boolean
boolean
MultipleFileUploadEditor
.deferRender
destroy():
void
void
MultipleFileUploadEditor
.destroy
protected
findById<TElement
>(id
):TElement
• TElement extends HTMLElement
= HTMLElement
string
TElement
MultipleFileUploadEditor
.findById
get_readOnly():
boolean
boolean
MultipleFileUploadEditor
.get_readOnly
src/ui/editors/uploadeditors.tsx:375
get_required():
boolean
boolean
MultipleFileUploadEditor
.get_required
src/ui/editors/uploadeditors.tsx:401
get_value():
UploadedFile
[]
MultipleFileUploadEditor
.get_value
src/ui/editors/uploadeditors.tsx:409
protected
getCssClass():string
string
MultipleFileUploadEditor
.getCssClass
protected
getCustomAttribute<TAttr
>(attrType
,inherit
):TAttr
• TAttr
(...args
) => TAttr
boolean
= true
TAttr
MultipleFileUploadEditor
.getCustomAttribute
getEditValue(
property
,target
):void
any
void
MultipleFileUploadEditor
.getEditValue
src/ui/editors/uploadeditors.tsx:431
getGridField():
Fluent
<HTMLElement
>
Fluent
<HTMLElement
>
MultipleFileUploadEditor
.getGridField
protected
getToolButtons():ToolButton
[]
MultipleFileUploadEditor
.getToolButtons
src/ui/editors/uploadeditors.tsx:340
protected
getUploadInputOptions():UploadInputOptions
MultipleFileUploadEditor
.getUploadInputOptions
src/ui/editors/uploadeditors.tsx:310
init():
this
this
internalRenderContents():
void
void
MultipleFileUploadEditor
.internalRenderContents
protected
legacyTemplateRender():boolean
boolean
MultipleFileUploadEditor
.legacyTemplateRender
protected
populate():void
void
MultipleFileUploadEditor
.populate
src/ui/editors/uploadeditors.tsx:350
render():
any
Returns the main element for this widget or the document fragment. As widgets may get their elements from props unlike regular JSX widgets, this method should not be overridden. Override renderContents() instead.
any
MultipleFileUploadEditor
.render
protected
renderContents():any
any
MultipleFileUploadEditor
.renderContents
set_readOnly(
value
):void
boolean
void
MultipleFileUploadEditor
.set_readOnly
src/ui/editors/uploadeditors.tsx:379
set_required(
value
):void
boolean
void
MultipleFileUploadEditor
.set_required
src/ui/editors/uploadeditors.tsx:405
set_value(
value
):void
void
MultipleFileUploadEditor
.set_value
src/ui/editors/uploadeditors.tsx:419
setEditValue(
source
,property
):void
any
void
MultipleFileUploadEditor
.setEditValue
src/ui/editors/uploadeditors.tsx:440
protected
syncOrAsyncThen<T
>(syncMethod
,asyncMethod
,then
):void
• T
() => T
() => PromiseLike
<T
>
(v
) => void
void
MultipleFileUploadEditor
.syncOrAsyncThen
protected
updateInterface():void
void
MultipleFileUploadEditor
.updateInterface
src/ui/editors/uploadeditors.tsx:369
protected
useIdPrefix():IdPrefixType
MultipleFileUploadEditor
.useIdPrefix
static
create<TWidget
,P
>(params
):TWidget
• TWidget extends Widget
<P
>
• P
CreateWidgetParams
<TWidget
, P
>
TWidget
MultipleFileUploadEditor
.create
static
createDefaultElement():HTMLElement
HTMLElement
MultipleFileUploadEditor
.createDefaultElement
static
getWidgetName(type
):string
Function
string