Wagtail client-side components
Preparing search index...
components/StreamField/blocks/StructBlock
StructBlock
Class StructBlock
Index
Constructors
constructor
Properties
block
Def
child
Blocks
container
layout
prefix
type
Methods
focus
get
Duplicated
State
get
State
get
Text
Label
get
Value
render
Child
Block
Def
set
Error
set
State
Constructors
constructor
new
StructBlock
(
blockDef
:
StructBlockDefinition
,
placeholder
:
JQuery
,
prefix
:
string
,
initialState
:
any
,
initialError
:
any
,
)
:
StructBlock
Parameters
blockDef
:
StructBlockDefinition
placeholder
:
JQuery
prefix
:
string
initialState
:
any
initialError
:
any
Returns
StructBlock
Properties
block
Def
blockDef
:
StructBlockDefinition
child
Blocks
childBlocks
:
Record
<
string
,
any
>
container
container
:
JQuery
layout
layout
:
BlockGroup
prefix
prefix
:
string
type
type
:
string
Methods
focus
focus
(
opts
:
any
)
:
void
Parameters
opts
:
any
Returns
void
get
Duplicated
State
getDuplicatedState
()
:
{}
Returns
{}
get
State
getState
()
:
{}
Returns
{}
get
Text
Label
getTextLabel
(
opts
:
any
)
:
any
Parameters
opts
:
any
Returns
any
get
Value
getValue
()
:
{}
Returns
{}
render
Child
Block
Def
renderChildBlockDef
(
name
:
string
,
container
:
JQuery
,
hasCustomTemplate
?:
boolean
,
)
:
any
Parameters
name
:
string
container
:
JQuery
hasCustomTemplate
:
boolean
= false
Returns
any
set
Error
setError
(
error
:
any
)
:
void
Parameters
error
:
any
Returns
void
set
State
setState
(
state
:
any
)
:
void
Parameters
state
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
block
Def
child
Blocks
container
layout
prefix
type
Methods
focus
get
Duplicated
State
get
State
get
Text
Label
get
Value
render
Child
Block
Def
set
Error
set
State
Wagtail client-side components
Loading...