Parameters for ui.showToast. Ask the calling window's page to show a toast: nothing is painted natively, the payload is delivered to that window as ui:toast with { message, duration, type, position }.
ui.showToast
ui:toast
{ message, duration, type, position }
Optional
Display time in milliseconds.
3000 Copy
3000
Toast text.
Screen corner, passed through to the page.
"bottom-right" Copy
"bottom-right"
Toast kind, passed through to the page.
"info" Copy
"info"
Parameters for
ui.showToast. Ask the calling window's page to show a toast: nothing is painted natively, the payload is delivered to that window asui:toastwith{ message, duration, type, position }.