Event Receiver Molecule

From oWiki

Jump to: navigation, search

Contents


Preference Dialog

File:Eventreceiver_pref.png

Attributes

type

string  ( r )
Type of this molecule, 'event_receiver'.

pref.name

string  ( r, w )
Specifies the event name.


Methods

clone()

Return: a molecule

Create a clone of this molecule.

attach(droplet)

droplet: a droplet object (e.g. app.box.droplet)

Attach this molecule to a droplet.

detach()

Remove this molecule from its droplet.

deleteMod()

Delete this molecule.

serialize()

Return: string

Serialize this molecule into its JSON representation.

Comments

Once the event name is set, it cannot be changed dynamically.

Personal tools