FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
void FB::JSAPI::SetProperty ( int  idx,
const variant value 
pure virtual

Sets the value of 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 SetProperty with idx = 12:

document.getElementById("plugin")[12] = "property value";
idxZero-based index of the property to set the value of.
valueThe new property value.

Implemented in FB::JSAPIAuto, FB::JSAPIProxy, FB::JSAPISimple, FB::ActiveX::IDispatchAPI, and FB::Npapi::NPObjectAPI.