Preparing search index...
The search index is not available
@formstack/forms-renderer
@formstack/forms-renderer
ISectionApi
Interface ISectionApi
Section API
interface
ISectionApi
{
formId
:
string
;
getTypeAttribute
:
TGetTypeAttribute
<
"required"
|
"type"
|
"requireConfirmation"
|
"shouldForceSkipValidation"
|
"usePageBreak"
>
;
id
:
string
;
setTypeAttribute
:
TSetTypeAttribute
<
"required"
|
"type"
|
"requireConfirmation"
|
"shouldForceSkipValidation"
|
"usePageBreak"
,
any
>
;
getField
(
fieldId
)
:
TFieldApiUnion
;
getFieldBy
(
predicate
)
:
TFieldApiUnion
;
getFieldByInternalLabel
(
internalLabel
)
:
TFieldApiUnion
;
getFields
(
predicate
?
)
:
IFieldApi
[]
;
getGeneralAttribute
(
key
)
:
any
;
goTo
(
)
:
void
;
setGeneralAttribute
(
key
,
value
)
:
void
;
setVisibility
(
visible
)
:
void
;
}
Hierarchy (
view full
)
IAbstractFieldParent
IAbstractEntity
ISectionApi
Index
Properties
form
Id
get
Type
Attribute
id
set
Type
Attribute
Methods
get
Field
get
Field
By
get
Field
By
Internal
Label
get
Fields
get
General
Attribute
go
To
set
General
Attribute
set
Visibility
Properties
form
Id
form
Id
:
string
get
Type
Attribute
get
Type
Attribute
:
TGetTypeAttribute
<
"required"
|
"type"
|
"requireConfirmation"
|
"shouldForceSkipValidation"
|
"usePageBreak"
>
id
id
:
string
set
Type
Attribute
set
Type
Attribute
:
TSetTypeAttribute
<
"required"
|
"type"
|
"requireConfirmation"
|
"shouldForceSkipValidation"
|
"usePageBreak"
,
any
>
Methods
get
Field
get
Field
(
fieldId
)
:
TFieldApiUnion
Parameters
fieldId
:
any
Returns
TFieldApiUnion
get
Field
By
get
Field
By
(
predicate
)
:
TFieldApiUnion
Parameters
predicate
:
(
(
field
)
=>
boolean
)
(
field
)
:
boolean
Parameters
field
:
IFieldApi
Returns
boolean
Returns
TFieldApiUnion
get
Field
By
Internal
Label
get
Field
By
Internal
Label
(
internalLabel
)
:
TFieldApiUnion
Parameters
internalLabel
:
string
Returns
TFieldApiUnion
get
Fields
get
Fields
(
predicate
?
)
:
IFieldApi
[]
Parameters
Optional
predicate
:
(
(
field
)
=>
boolean
)
(
field
)
:
boolean
Parameters
field
:
IFieldDto
Returns
boolean
Returns
IFieldApi
[]
get
General
Attribute
get
General
Attribute
(
key
)
:
any
Parameters
key
:
string
Returns
any
go
To
go
To
(
)
:
void
Scrolls to the targetted field
Returns
void
set
General
Attribute
set
General
Attribute
(
key
,
value
)
:
void
Parameters
key
:
string
value
:
any
Returns
void
set
Visibility
set
Visibility
(
visible
)
:
void
Parameters
visible
:
boolean
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
form
Id
get
Type
Attribute
id
set
Type
Attribute
get
Field
get
Field
By
get
Field
By
Internal
Label
get
Fields
get
General
Attribute
go
To
set
General
Attribute
set
Visibility
@formstack/forms-renderer
Loading...
Section API