Search
Preparing search index...
The search index is not available
Electron Forge
Options
All
Public
Public/Protected
All
Inherited
Menu
Electron Forge
@electron-forge/plugin-vite
InternalOptions
QuizPromptOptions
Interface QuizPromptOptions
Hierarchy
ArrayPromptOptions
QuizPromptOptions
Index
Properties
align
choices
correct
Choice
delay
edge
Length
footer
header
hint
initial
linebreak
max
Choices
message
multiple
required
scroll
separator
sort
stdin
stdout
Methods
format
on
Cancel
on
Submit
result
skip
validate
Properties
Optional
align
align
?:
"left"
|
"right"
choices
choices
:
string
[]
|
BasePromptOptionsWithName
[]
correct
Choice
correct
Choice
:
number
Optional
delay
delay
?:
number
Optional
edge
Length
edge
Length
?:
number
Optional
footer
footer
?:
string
Optional
header
header
?:
string
Optional
hint
hint
?:
string
Optional
initial
initial
?:
number
|
number
[]
Optional
linebreak
linebreak
?:
boolean
Optional
max
Choices
max
Choices
?:
number
message
message
:
string
|
(
(
)
=>
string
)
|
(
(
)
=>
Promise
<
string
>
)
Optional
multiple
multiple
?:
boolean
Optional
required
required
?:
boolean
Optional
scroll
scroll
?:
boolean
Optional
separator
separator
?:
boolean
Optional
sort
sort
?:
boolean
Optional
stdin
stdin
?:
ReadStream
Optional
stdout
stdout
?:
WriteStream
Methods
Optional
format
format
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
Optional
on
Cancel
on
Cancel
(
name
:
any
, value
:
any
, prompt
:
Enquirer
.
Prompt
)
:
boolean
|
Promise
<
boolean
>
Parameters
name:
any
value:
any
prompt:
Enquirer
.
Prompt
Returns
boolean
|
Promise
<
boolean
>
Optional
on
Submit
on
Submit
(
name
:
any
, value
:
any
, prompt
:
Enquirer
.
Prompt
)
:
boolean
|
Promise
<
boolean
>
Parameters
name:
any
value:
any
prompt:
Enquirer
.
Prompt
Returns
boolean
|
Promise
<
boolean
>
Optional
result
result
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
Optional
skip
skip
(
value
:
any
)
:
boolean
|
Promise
<
boolean
>
Parameters
value:
any
Returns
boolean
|
Promise
<
boolean
>
Optional
validate
validate
(
value
:
any
, state
:
any
)
:
string
|
boolean
|
Promise
<
string
>
|
Promise
<
string
|
boolean
>
|
Promise
<
boolean
>
Parameters
value:
any
state:
any
Returns
string
|
boolean
|
Promise
<
string
>
|
Promise
<
string
|
boolean
>
|
Promise
<
boolean
>
All Modules
Makers
maker-appx
maker-deb
maker-dmg
maker-flatpak
maker-pkg
maker-rpm
maker-snap
maker-squirrel
maker-wix
maker-zip
Plugins
plugin-auto-unpack-natives
plugin-base
plugin-electronegativity
plugin-fuses
plugin-local-electron
plugin-vite
plugin-webpack
Publishers
publisher-base
publisher-bitbucket
publisher-electron-release-server
publisher-gcs
publisher-github
publisher-nucleus
publisher-s3
publisher-snapcraft
publisher-static
Templates
template-base
template-vite
template-vite-typescript
template-webpack
template-webpack-typescript
Utils & Internal Helpers
core
core-utils
maker-base
shared-types
test-utils
tracer
web-multi-logger