Device App APIhmUI Components ModuleshowToastVersion: v1.0On this pagehmUI.showToast(option) Show Toast with \n text line feed support. Type (option: Option) => void Parameters Option: object PropertiesDescriptionTypetextThe text content of toast.string Code examples Page({ build() { hmUI.showToast({ text: 'Hello\nZepp OS' }) }})