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 142 of file NPObjectAPI.cpp. 00143 { 00144 if (m_browser.expired()) 00145 return false; 00146 00147 NpapiBrowserHostPtr browser(getHost()); 00148 if (is_JSAPI) { 00149 FB::JSAPIPtr tmp = inner.lock(); 00150 if (tmp) 00151 return tmp->HasProperty(idx); 00152 else 00153 return false; 00154 } 00155 return browser->HasProperty(obj, browser->GetIntIdentifier(idx)); 00156 } |
Generated on 19 Jun 2013 for FireBreath by
1.6.1
Labels
