<HTML> <HEAD> <meta charset="UTF-8"> <title>Upload.cancel - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.upload</a> / <a href="index.html">Upload</a> / <a href="./cancel.html">cancel</a><br/> <br/> <h1>cancel</h1> <a name="pl.treksoft.kvision.form.upload.Upload$cancel()"></a> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">cancel</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> <p>Cancel an ongoing ajax upload (only for ajax mode).</p> </BODY> </HTML>