mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 11:51:36 +02:00
Document new param on clickToastButton
This commit is contained in:
parent
d9c830ec37
commit
9dc6b0bec3
@ -128,6 +128,7 @@ class Toasts {
|
||||
* If `required` is false, you should supply a relatively short `timeout`
|
||||
* (e.g. 2000, meaning 2 seconds) to prevent your test taking too long.
|
||||
*
|
||||
* @param toasts - A Toasts instance.
|
||||
* @param title - Expected title of the toast.
|
||||
* @param button - Which button to click on the toast. Allowed values are
|
||||
* "primary", which will accept the toast, or "secondary",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user