Preparing search index...
The search index is not available
@formstack/forms-renderer
@formstack/forms-renderer
IFormApi
Interface IFormApi
interface
IFormApi
{
applyTheme
(
theme
)
:
void
;
empty
(
)
:
Promise
<
void
>
;
getField
(
fieldId
)
:
TFieldApiUnion
;
getFieldBy
(
predicate
)
:
TFieldApiUnion
;
getFieldByInternalLabel
(
internalLabel
)
:
TFieldApiUnion
;
getFields
(
predicate
?
)
:
IFieldApi
[]
;
getPagingContext
(
)
:
IPagingContext
;
getSection
(
sectionId
)
:
ISectionApi
;
getSections
(
predicate
?
)
:
any
[]
;
isRendered
(
)
:
boolean
;
notifyFormEventListeners
(
type
,
data
)
:
Promise
<
any
>
;
registerFormEventListener
(
listener
)
:
void
;
reset
(
)
:
Promise
<
void
>
;
setValues
(
values
)
:
Promise
<
void
>
;
unregisterFormEventListener
(
listener
)
:
void
;
}
Hierarchy (
view full
)
IAbstractFieldParent
IFormApi
Index
Methods
apply
Theme
empty
get
Field
get
Field
By
get
Field
By
Internal
Label
get
Fields
get
Paging
Context
get
Section
get
Sections
is
Rendered
notify
Form
Event
Listeners
register
Form
Event
Listener
reset
set
Values
unregister
Form
Event
Listener
Methods
apply
Theme
apply
Theme
(
theme
)
:
void
Parameters
theme
:
any
Returns
void
empty
empty
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
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
Paging
Context
get
Paging
Context
(
)
:
IPagingContext
Returns
IPagingContext
get
Section
get
Section
(
sectionId
)
:
ISectionApi
Parameters
sectionId
:
any
Returns
ISectionApi
get
Sections
get
Sections
(
predicate
?
)
:
any
[]
Parameters
Optional
predicate
:
(
(
section
)
=>
boolean
)
(
section
)
:
boolean
Parameters
section
:
any
Returns
boolean
Returns
any
[]
is
Rendered
is
Rendered
(
)
:
boolean
Returns
boolean
notify
Form
Event
Listeners
notify
Form
Event
Listeners
(
type
,
data
)
:
Promise
<
any
>
Parameters
type
:
FormEvents
data
:
any
Returns
Promise
<
any
>
register
Form
Event
Listener
register
Form
Event
Listener
(
listener
)
:
void
Parameters
listener
:
IFormEventListener
Returns
void
reset
reset
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
Values
set
Values
(
values
)
:
Promise
<
void
>
Parameters
values
:
{
[
fieldId
:
string
]
:
IFieldValueUnion
;
}
[
fieldId
:
string
]:
IFieldValueUnion
Returns
Promise
<
void
>
unregister
Form
Event
Listener
unregister
Form
Event
Listener
(
listener
)
:
void
Parameters
listener
:
IFormEventListener
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
apply
Theme
empty
get
Field
get
Field
By
get
Field
By
Internal
Label
get
Fields
get
Paging
Context
get
Section
get
Sections
is
Rendered
notify
Form
Event
Listeners
register
Form
Event
Listener
reset
set
Values
unregister
Form
Event
Listener
@formstack/forms-renderer
Loading...