FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPIProxy::RemoveProperty ( int  idx)
virtual

Removes an indexed property.

This can be used for providing array-style access on your object. For example, the following will result in a call to RemoveProperty with idx = 12:

delete document.getElementById("plugin")[12];
Parameters
idxZero-based index of the property to remove
Since
1.5

Implements FB::JSAPI.

Definition at line 235 of file JSAPIProxy.cpp.

236 {
237  FB::scoped_zonelock _l(getAPI(), getZone());
238  getAPI()->RemoveProperty(idx);
239 }
Provides a helper class for locking.
Definition: JSAPI.h:548
virtual SecurityZone getZone() const
Gets the currently active zone.
Definition: JSAPIImpl.h:238