Search
Preparing search index...
The search index is not available
@dfinity/candid
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@dfinity/candid
VariantForm
Class VariantForm
Hierarchy
InputForm
VariantForm
Index
Constructors
constructor
Properties
fields
form
ui
Methods
generate
Form
parse
render
render
Form
Constructors
constructor
new
Variant
Form
(
fields
:
[
string
,
Type
<
any
>
]
[]
, ui
:
FormConfig
)
:
VariantForm
Parameters
fields:
[
string
,
Type
<
any
>
]
[]
ui:
FormConfig
Returns
VariantForm
Properties
fields
fields
:
[
string
,
Type
<
any
>
]
[]
form
form
:
InputBox
[]
= []
ui
ui
:
FormConfig
Methods
generate
Form
generate
Form
(
)
:
void
Returns
void
parse
parse
(
config
:
ParseConfig
)
:
undefined
|
Record
<
string
,
any
>
Parameters
config:
ParseConfig
Returns
undefined
|
Record
<
string
,
any
>
render
render
(
dom
:
HTMLElement
)
:
void
Parameters
dom:
HTMLElement
Returns
void
render
Form
render
Form
(
dom
:
HTMLElement
)
:
void
Parameters
dom:
HTMLElement
Returns
void
Exports
IDL
Variant
Form
constructor
fields
form
ui
generate
Form
parse
render
render
Form
Generated using
TypeDoc