replace "press" with "click"
"press" is when we push a keyboard key "click"/"select" is when we use a mouse button.
This commit is contained in:
parent
c0d068d27a
commit
2802a6d5cd
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ More in: <info:variables> and <info:types>.
|
||||||
We're using a browser as a working environment, so basic UI functions will be:
|
We're using a browser as a working environment, so basic UI functions will be:
|
||||||
|
|
||||||
[`prompt(question, [default])`](mdn:api/Window/prompt)
|
[`prompt(question, [default])`](mdn:api/Window/prompt)
|
||||||
: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel".
|
: Ask a `question`, and return either what the visitor entered or `null` if they clicked "cancel".
|
||||||
|
|
||||||
[`confirm(question)`](mdn:api/Window/confirm)
|
[`confirm(question)`](mdn:api/Window/confirm)
|
||||||
: Ask a `question` and suggest to choose between Ok and Cancel. The choice is returned as `true/false`.
|
: Ask a `question` and suggest to choose between Ok and Cancel. The choice is returned as `true/false`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue