neft
Version:
Universal Platform
26 lines (17 loc) • 1.29 kB
Markdown
> [Wiki](Home) ▸ [[API Reference|API-Reference]] ▸ **Native Communication**
# Native Communication
> [`Source`](/Neft-io/neft/blob/2329b71d42f2f00d4c14533eb2a451f42a512c98/src/native/index.litcoffee)
## Table of contents
* [Native Communication](#native-communication)
* [callFunction](#callfunction)
* [on](#on)
* [Glossary](#glossary)
#callFunction
<dl><dt>Syntax</dt><dd><code>callFunction(*String* name, [*Boolean*|*Float*|*String* args...])</code></dd><dt>Parameters</dt><dd><ul><li>name — <i>String</i></li><li>args... — <a href="/Neft-io/neft/wiki/Utils-API#isfloat">Float</a> or <i>String</i> or <i>Boolean</i> — <i>optional</i></li></ul></dd></dl>
> [`Source`](/Neft-io/neft/blob/2329b71d42f2f00d4c14533eb2a451f42a512c98/src/native/index.litcoffee#callfunctionstring-name-booleanfloatstring-args)
#on
<dl><dt>Syntax</dt><dd><code>on(*String* eventName, *Function* listener)</code></dd><dt>Parameters</dt><dd><ul><li>eventName — <i>String</i></li><li>listener — <i>Function</i></li></ul></dd></dl>
> [`Source`](/Neft-io/neft/blob/2329b71d42f2f00d4c14533eb2a451f42a512c98/src/native/index.litcoffee#onstring-eventname-function-listener)
# Glossary
- [native.callFunction](#callfunction)
- [native.on](#on)