WebApp

external class WebApp

Constructors

Link copied to clipboard
constructor()

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard
fun offEvent(type: String, callback: () -> Unit)
Link copied to clipboard
Link copied to clipboard
fun WebApp.onBackButtonClicked(eventHandler: EventHandler): () -> Unit
Link copied to clipboard
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
Link copied to clipboard
fun WebApp.onThemeChanged(eventHandler: EventHandler): () -> Unit
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 readTextFromClipboard(callback: TextReceivedCallback? = definedExternally)
Link copied to clipboard
fun ready()
Link copied to clipboard
fun requestContact(callback: (Boolean) -> Unit? = definedExternally)
Link copied to clipboard
fun requestWriteAccess(callback: (Boolean) -> Unit? = definedExternally)
Link copied to clipboard
fun sendData(data: String)
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)
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
fun showScanQrPopup(params: ScanQrPopupParams, callback: QRTextReceivedCallback? = definedExternally)