C# Class RunJS.Core.JsEventObject

Class used to handle events in JS.
Inheritance: Jurassic.Library.ObjectInstance
Afficher le fichier Open project: Alxandr/RunJS

Méthodes publiques

Méthode Description
JsEventObject ( ObjectInstance prototype, ScriptRunner runner ) : System.Collections.Generic

Initializes a new instance of the JsEventObject class.

Méthodes protégées

Méthode Description
Fire ( string eventName ) : void

Fires the specified event name.

Private Methods

Méthode Description
Ignore ( string eventName ) : void
Ignore ( string eventName, FunctionInstance fn ) : void
Listen ( ObjectInstance eventsToListen ) : void
Listen ( string eventName, FunctionInstance fn ) : void

Method Details

Fire() protected méthode

Fires the specified event name.
protected Fire ( string eventName ) : void
eventName string Name of the event.
Résultat void

JsEventObject() public méthode

Initializes a new instance of the JsEventObject class.
public JsEventObject ( ObjectInstance prototype, ScriptRunner runner ) : System.Collections.Generic
prototype Jurassic.Library.ObjectInstance The prototype.
runner ScriptRunner The runner.
Résultat System.Collections.Generic