You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,9 +168,7 @@ The button you create with the `field: janitor` in your blueprint can be configu
168
168
-`confirm`, sets text for confirmation after clicking the button and before executing the command, can prevent the execution of the command if the user clicks `cancel` in the OS dialog
169
169
-`command`, command like you would enter it in terminal, with [query language support](https://getkirby.com/docs/guide/blueprints/query-language) and page/file/user/site/data arguments
170
170
-`cooldown`, time in milliseconds the message is flashed on the button (default: 2000)
171
-
-`error`, set message on button to show onpa all **non-200**-status returns with query language support, also will print to `console.error()`
172
-
-`warn`, print to `console.warn()`
173
-
-`log`, print to `console.log()`
171
+
-`error`, set message on button to show on all **non-200**-status returns with query language support, also will print to `console.error()`
174
172
-`help`, set help of the button
175
173
-`icon`, set the [icon](https://getkirby.com/docs/reference/panel/icons) of the button
176
174
-`intab`, if `true` then use in combination with the `open`-option to open an URL in a new tab
@@ -187,7 +185,9 @@ In either the command or the callback you will be setting/returning data to the
187
185
-`clipboard`, string to copy to clipboard
188
186
-`color`, see `color`-field option
189
187
-`download`, URL to start downloading
190
-
-`error`, see `error`-field option
188
+
-`error`, see `error`-field option, print to `console.error()`
0 commit comments