开发者

How to communicate between addon process and panel page in Jetpack

What is the best way to send a variable to a pan开发者_运维知识库el? Do people use mustache.js? Right now I am able to load an HTML file but I am not able to communicate with it once i call panel.show()


To communicate between the panel page and the add-on's module you should use panel.port (from the addon module) or self.port (from the content script). See Communicating with Content Scripts for details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜