How to dynamically set the value of toast text?

hi,How to dynamically set the value of toast text?Thank you!

$('.toast-text').text('Hello World')

Thank you!:grinning:

Sorry, but could you please give me an example with app.toast.create … and change the inner text dynamically afterwards?