Page tree
Skip to end of metadata
Go to start of metadata

void FB::JSAPI::registerEventMethod ( const std::string &  name,
JSObjectPtr event 

Called by the browser to register an event handler method.

nameThe name.
eventThe event handler method.

Reimplemented in FB::JSAPIImpl.

Definition at line 182 of file JSAPI.h.

Referenced by registerEventMethod().

183  {
184  // TODO: add support for this in IDispatchAPI and NPObjectAPI
185  throw FB::script_error("Not implemented");
186  }
Exception type; when thrown in a JSAPI method, a javascript exception will be thrown.
Definition: JSExceptions.h:28
  • No labels