MozSocial.openPanel

  • Revision slug: DOM/MozSocial.openPanel
  • Revision title: MozSocial.openPanel
  • Revision id: 379159
  • Created:
  • Creator: Mixedpuppy
  • Is current revision? No
  • Comment

Revision Content

{{ DomRef() }}

{{non-standard_header()}}

{{fx_minversion_header("17.0")}}

Summary

Opens a flyout panel attached to the social media provider's sidebar at a given vertical offset.

Syntax

MozSocial.openPanel(toUrl, offset, callback);

Parameters

toUrl
The URL to the content to present in the panel.
offset
The vertical offset, in pixels, at which to position the flyout panel.
callback
An object to receive callback notifications on the connection. The first argument to the callback is a reference to the window object of  the flyout.

Specification

Not part of any specification.

Revision Source

<p>{{ DomRef() }}</p>
<p>{{non-standard_header()}}</p>
<p>{{fx_minversion_header("17.0")}}</p>
<h3 id="Summary" name="Summary">Summary</h3>
<p>Opens a flyout panel attached to the social media provider's sidebar at a given vertical offset.</p>
<h3 id="Syntax" name="Syntax">Syntax</h3>
<pre class="eval">
MozSocial.openPanel(<em>toUrl</em>, <em>offset</em>, <em>callback</em>);
</pre>
<h3 id="Parameters">Parameters</h3>
<dl>
  <dt>
    <code>toUrl</code></dt>
  <dd>
    The URL to the content to present in the panel.</dd>
  <dt>
    <code>offset</code></dt>
  <dd>
    The vertical offset, in pixels, at which to position the flyout panel.</dd>
  <dt>
    <code>callback</code></dt>
  <dd>
    An object to receive callback notifications on the connection. The first argument to the callback is a reference to the window object of&nbsp; the flyout.</dd>
</dl>
<h3 id="Specification" name="Specification">Specification</h3>
<p>Not part of any specification.</p>
Revert to this revision