WebApp

external class WebApp

Constructors

Link copied to clipboard
fun WebApp()

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun expand()
Link copied to clipboard
Link copied to clipboard
fun offEvent(type: String, callback: () -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun openInvoice(url: String, callback: (InvoiceClosedInfo) -> Unit = definedExternally)
Link copied to clipboard
fun openLink(url: String)
Link copied to clipboard
Link copied to clipboard
fun ready()
Link copied to clipboard
fun sendData(data: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun showAlert(message: String, callback: AlertCallback? = definedExternally)
Link copied to clipboard
fun showConfirm(message: String, callback: ConfirmCallback? = definedExternally)
Link copied to clipboard
fun showPopup(params: PopupParams, callback: ClosePopupCallback? = definedExternally)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebApp.onBackButtonClicked(eventHandler: EventHandler): () -> Unit
Link copied to clipboard
Link copied to clipboard
fun WebApp.onMainButtonClicked(eventHandler: EventHandler): () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebApp.onThemeChanged(eventHandler: EventHandler): () -> Unit
Link copied to clipboard
Link copied to clipboard
fun WebApp.showPopup(message: String, title: String?, buttons: Array<PopupButton>, callback: ClosePopupCallback? = null)
fun WebApp.showPopup(message: String, title: String?, firstButton: PopupButton, vararg otherButtons: PopupButton, callback: ClosePopupCallback? = null)
Link copied to clipboard