mozilla

Compare Revisions

content/symbiont

Change Revisions

Revision 508783:

Revision 508783 by wbamberg on

Revision 508785:

Revision 508785 by wbamberg on

Title:
content/symbiont
content/symbiont
Slug:
Mozilla/Add-ons/SDK/Low-Level_APIs/content_symbiont
Mozilla/Add-ons/SDK/Low-Level_APIs/content_symbiont
Content:

Revision 508783
Revision 508785
nn7    <div class="note">
7    <p>8      <p>
8      The <code>symbiont</code> module exports the <code>Symbiont9        Unstable
></code> trait, which is used in the internal implementation of SD 
>K modules, such as <a href="modules/sdk/panel.html"><code>panel</ 
>code></a> and <a href="modules/sdk/page-mod.html"><code>page-work 
>er</code></a>, that can load web content and attach <a href="dev- 
>guide/guides/content-scripts/index.html">content scripts</a> to i 
>t. 
10      </p>
11    </div>
9    </p>12    <p>
13      <span class="seoSummary">Exports the <code>Symbiont</code> 
 >trait, which is used in the implementation of SDK modules that ca
 >n load web content and attach <a href="dev-guide/guides/content-s
 >cripts/index.html">content scripts</a> to it.</span>
14    </p>
15    <h2>
16      Usage
17    </h2>
n16    <pre>n24    <pre class="brush: js">
17<code>var { Symbiont } = require('sdk/content/content');25var { Symbiont } = require('sdk/content/content');
n26</code>n
n31    <h2>n38    <h2 id="Globals">
n34    <h3>n41    <h3 id="Constructors">
n37    <h4 class="addon-sdk-api-name">n44    <h4 class="addon-sdk-api-name" id="Symbiont(options)">
n43    <h5>n50    <h5 id="Parameters">
n146    <h3>n153    <h3 id="Functions">
n149    <h2>n156    <h2 id="Symbiont">
n152    <h3>n159    <h3 id="Properties">
n155    <h4 class="addon-sdk-api-name">n162    <h4 class="addon-sdk-api-name" id="contentScriptFile">
n161    <h4 class="addon-sdk-api-name">n168    <h4 class="addon-sdk-api-name" id="contentScript">
n167    <h4 class="addon-sdk-api-name">n174    <h4 class="addon-sdk-api-name" id="contentScriptWhen">
n181    <h4 class="addon-sdk-api-name">n188    <h4 class="addon-sdk-api-name" id="contentScriptOptions">
n190    <h4 class="addon-sdk-api-name">n197    <h4 class="addon-sdk-api-name" id="contentURL">
t196    <h4 class="addon-sdk-api-name">t203    <h4 class="addon-sdk-api-name" id="allow">

Back to History