Web App
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun offEventWithInvoiceClosedInfo(type: String, callback: (InvoiceClosedInfo) -> Unit)
Content copied to clipboard
Link copied to clipboard
fun offEventWithViewportChangedData(type: String, callback: (ViewportChangedData) -> Unit)
Content copied to clipboard
Link copied to clipboard
fun openInvoice(url: String, callback: (InvoiceClosedInfo) -> Unit = definedExternally)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun showAlert(message: String, callback: AlertCallback? = definedExternally)
Content copied to clipboard
Link copied to clipboard
fun showConfirm(message: String, callback: ConfirmCallback? = definedExternally)
Content copied to clipboard
Link copied to clipboard
fun showPopup(params: PopupParams, callback: ClosePopupCallback? = definedExternally)
Content copied to clipboard
Properties
Extensions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebApp.onEvent(type: EventType, eventHandler: EventHandler): () -> Unit
Content copied to clipboard
fun WebApp.onEvent(type: EventType.ViewportChanged, eventHandler: ViewportChangedEventHandler): (ViewportChangedData) -> Unit
Content copied to clipboard
fun WebApp.onEvent(type: EventType.InvoiceClosed, eventHandler: InvoiceClosedEventHandler): (InvoiceClosedInfo) -> Unit
Content copied to clipboard
fun WebApp.onEvent(type: EventType.PopupClosed, eventHandler: PopupClosedEventHandler): (String?) -> Unit
Content copied to clipboard
Link copied to clipboard
fun WebApp.onInvoiceClosed(eventHandler: InvoiceClosedEventHandler): (InvoiceClosedInfo) -> Unit
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebApp.onPopupClosed(eventHandler: PopupClosedEventHandler): (String?) -> Unit
Content copied to clipboard
Link copied to clipboard
fun WebApp.onSettingsButtonClicked(eventHandler: EventHandler): () -> Unit
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebApp.onViewportChanged(eventHandler: ViewportChangedEventHandler): (ViewportChangedData) -> Unit
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun WebApp.showPopup( message: String, title: String?, buttons: Array<PopupButton>, callback: ClosePopupCallback? = null)
Content copied to clipboard
fun WebApp.showPopup( message: String, title: String?, firstButton: PopupButton, vararg otherButtons: PopupButton, callback: ClosePopupCallback? = null)
Content copied to clipboard
Link copied to clipboard