Query if the property at "idx" exists. This can be used for providing array-style access on your object. For example, the following will result in a call to HasProperty with idx = 12: document.getElementById("plugin")[12];
Implements FB::JSAPI. Definition at line 176 of file JSAPIAuto.cpp. 00177 { 00178 boost::recursive_mutex::scoped_lock lock(m_zoneMutex); 00179 if(!m_valid) 00180 return false; 00181 00182 // To be able to set dynamic properties, we have to respond true always 00183 if (m_allowDynamicAttributes) 00184 return true; 00185 00186 return m_attributes.find(boost::lexical_cast<std::string>(idx)) != m_attributes.end(); 00187 } |
Generated on 23 May 2013 for FireBreath by
1.6.1
Labels
