[英]NPAPI plugin - To access array object from Javascript
I created a NPAPI
plugin, but want to know which all methods in NPClass
gets invoked in the below mentioned javascript code for line2 . 我创建了一个NPAPI
插件,但想知道NPClass
中的所有方法都在NPClass
的line2的javascript代码中被调用。
Also I want to know the method to access array index in the plugin . 我也想知道插件中访问数组索引的方法。
var tst = document.getElementById('test
'); var tst = document.getElementById('test
'); var name1 = tst[1];
It will call your GetProperty
method; 它将调用您的GetProperty
方法; the NPIdentifier
will either be an IntIdentifier
with the value of i
or a normal StringIdentifier
with the numeric string matching i
. 该NPIdentifier
要么是一个IntIdentifier
用的值i
或正常StringIdentifier
与数字串匹配i
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.