You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
772 B
Plaintext

# API{~n}
{~n}
Each of the methods listed in the API are accessed through an instance of EventEmitter. You can create an instance with `var ee = new EventEmitter();`. Then you can call API methods from `ee`, for example `ee.emitEvent('foo');`.{~n}
{~n}
You may also be interested in [the guide](https://github.com/Olical/EventEmitter/blob/master/docs/guide.md) which highlights some key features of EventEmitter and how to use them. It is a broad overview of the script whereas this is concise information about each method in the API.{~n}
{~n}
{#.}
## {ctx.name}{~n}
{~n}
{description.full|s}{~n}
{~n}
{#tags}
{~s}* **{type}**{?types} ({#types}`{.}`{@sep} | {/sep}{/types}){/types}{?name} _{name}_{/name}{?description} - {description}{/description}{~n}
{/tags}
{~n}
{/.}