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";
Implements FB::JSAPI. Definition at line 175 of file JSAPISimple.cpp. 00176 { 00177 if (!m_valid) 00178 throw object_invalidated(); 00179 00180 // By default do not support indexing 00181 // To use array style access, override this method in your API object 00182 throw invalid_member("Array index: " + variant(idx).convert_cast<std::string>()); 00183 } |
Generated on 18 Jun 2013 for FireBreath by
1.6.1
Labels
