From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/es/web/api/mozsocial/closepanel/index.html | 19 ++++++++++ files/es/web/api/mozsocial/getattention/index.html | 19 ++++++++++ files/es/web/api/mozsocial/getworker/index.html | 19 ++++++++++ files/es/web/api/mozsocial/index.html | 44 ++++++++++++++++++++++ files/es/web/api/mozsocial/isvisible/index.html | 22 +++++++++++ .../es/web/api/mozsocial/openchatwindow/index.html | 26 +++++++++++++ files/es/web/api/mozsocial/openpanel/index.html | 30 +++++++++++++++ 7 files changed, 179 insertions(+) create mode 100644 files/es/web/api/mozsocial/closepanel/index.html create mode 100644 files/es/web/api/mozsocial/getattention/index.html create mode 100644 files/es/web/api/mozsocial/getworker/index.html create mode 100644 files/es/web/api/mozsocial/index.html create mode 100644 files/es/web/api/mozsocial/isvisible/index.html create mode 100644 files/es/web/api/mozsocial/openchatwindow/index.html create mode 100644 files/es/web/api/mozsocial/openpanel/index.html (limited to 'files/es/web/api/mozsocial') diff --git a/files/es/web/api/mozsocial/closepanel/index.html b/files/es/web/api/mozsocial/closepanel/index.html new file mode 100644 index 0000000000..1b2305967f --- /dev/null +++ b/files/es/web/api/mozsocial/closepanel/index.html @@ -0,0 +1,19 @@ +--- +title: MozSocial.closePanel +slug: Web/API/MozSocial/closePanel +tags: + - Social +translation_of: Archive/Social_API/MozSocial/closePanel +--- +

{{ ApiRef() }}

+

{{non-standard_header()}}

+

{{fx_minversion_header("17.0")}}

+

Resumen

+

Cierra el panel social que está actualmente abierto en el panel del proveedor de servicios sociales de nivel superior.

+

Sintaxis

+
MozSocial.closePanel();
+
+

Parametros

+

Ninguno.

+

Especificación

+

No es parte de ninguna especificación.

diff --git a/files/es/web/api/mozsocial/getattention/index.html b/files/es/web/api/mozsocial/getattention/index.html new file mode 100644 index 0000000000..e362749b56 --- /dev/null +++ b/files/es/web/api/mozsocial/getattention/index.html @@ -0,0 +1,19 @@ +--- +title: MozSocial.getAttention +slug: Web/API/MozSocial/getAttention +tags: + - Social +translation_of: Archive/Social_API/MozSocial/getAttention +--- +

{{ ApiRef() }}

+

{{non-standard_header()}}

+

{{fx_minversion_header("17.0")}}

+

Resumen

+

Ejecuta algunas acciones, posiblemente específicas de la plataforma, diseñadas para obtener la atención del usuario. Esto puede involucrar la reproducción de un efecto de sonido, parpadeo en la pantalla, o mostrando alguna otra forma de efecto.

+

Sintaxis

+
MozSocial.getAttention();
+
+

Parámetros

+

Ninguno.

+

Especificación

+

No es parte de ninguna especificación.

diff --git a/files/es/web/api/mozsocial/getworker/index.html b/files/es/web/api/mozsocial/getworker/index.html new file mode 100644 index 0000000000..e32cc7b240 --- /dev/null +++ b/files/es/web/api/mozsocial/getworker/index.html @@ -0,0 +1,19 @@ +--- +title: MozSocial.getWorker +slug: Web/API/MozSocial/getWorker +translation_of: Archive/Social_API/MozSocial/getWorker +--- +

{{ ApiRef() }}

+

{{non-standard_header()}}

+

{{fx_minversion_header("17.0")}}

+

Resumen

+

Devuelve una referencia al  worker del servicio de contenidos de redes sociales. Una vez obtenido, puedes llamar a su método postMessage() para comunicarte con él. Puedes usar uno de los  mensajes estándares para redes sociales, o mensajes específicos de ese servicio.

+

Sintaxis

+
var socialWorker = MozSocial.getWorker();
+
+

Parámetros

+

Ninguno.

+

Valor devuelto

+

Una referencia al worker del servicio.

+

Especificación

+

No forma parte de ninguna especificación.

diff --git a/files/es/web/api/mozsocial/index.html b/files/es/web/api/mozsocial/index.html new file mode 100644 index 0000000000..a2f559a9df --- /dev/null +++ b/files/es/web/api/mozsocial/index.html @@ -0,0 +1,44 @@ +--- +title: MozSocial +slug: Web/API/MozSocial +tags: + - API +translation_of: Archive/Social_API/MozSocial +--- +
{{ ApiRef("Social API") }} {{non-standard_header}}{{fx_minversion_header("17.0")}}
+ +

The MozSocial object, returned by the navigator.mozSocial property, is available within the social media provider's panel to provide functionality it may need.

+ +
+

Note: Although Mozilla hopes to submit this API for standardization eventually, it has not yet done so.

+
+ +

Properties

+ +
+
{{domxref("MozSocial.isVisible")}}
+
Returns a Boolean value; the result is true if the content is visible, otherwise it's false.
+
+ +

Methods

+ +
+
{{domxref("MozSocial.closePanel()")}}
+
Closes the currently open flyout panel.
+
{{domxref("MozSocial.getAttention()")}}
+
Performs some action designed to get the user's attention; the exact behavior may vary from platform to platform. This might display a visual effect, play an audible notification, flash the screen, or use some other technique.
+
{{domxref("MozSocial.getWorker()")}}
+
Returns a reference to the service worker; once content has this reference, it can call worker.port.postMessage() method to communicate with the service.
+
{{domxref("MozSocial.openChatWindow()")}}
+
Opens a chat window that is anchored to the bottom of the browser window. Each chat window is expected to be a singular chat, but functionality may vary by provider.
+
{{domxref("MozSocial.openPanel()")}}
+
Opens a flyout panel attached to the sidebar at a given vertical offset. This might be, for example, used to display the actual conversation corresponding to a notification in the sidebar.
+
{{domxref("MozSocial.share()")}}
+
Initiates a share action via the SocialAPI Share panel.  One argument is passed, an object containing "url", "title", "description", "source" and "image".
+
+ +

See also

+ + diff --git a/files/es/web/api/mozsocial/isvisible/index.html b/files/es/web/api/mozsocial/isvisible/index.html new file mode 100644 index 0000000000..7bc90e47da --- /dev/null +++ b/files/es/web/api/mozsocial/isvisible/index.html @@ -0,0 +1,22 @@ +--- +title: MozSocial.isVisible +slug: Web/API/MozSocial/isVisible +tags: + - Social +translation_of: Archive/Social_API/MozSocial/isVisible +--- +

{{non-standard_header()}}

+

{{fx_minversion_header("17.0")}}

+

{{ ApiRef() }}

+

Resumen

+

Indica si la barra lateral del contenido del proveedor de social media está o no visible actualmente.

+

Sintaxis

+
var visible = navigator.MozSocial.isVisible
+
+

Al retornar, visible es true si la barra lateral es visible actualmente; de otro modo es false.

+

Especificación

+

No es parte de ninguna especificación.

+

Ver también

+ diff --git a/files/es/web/api/mozsocial/openchatwindow/index.html b/files/es/web/api/mozsocial/openchatwindow/index.html new file mode 100644 index 0000000000..26f6b97643 --- /dev/null +++ b/files/es/web/api/mozsocial/openchatwindow/index.html @@ -0,0 +1,26 @@ +--- +title: MozSocial.openChatWindow +slug: Web/API/MozSocial/openChatWindow +translation_of: Archive/Social_API/MozSocial/openChatWindow +--- +

{{ ApiRef() }}

+

{{non-standard_header()}}

+

{{fx_minversion_header("17.0")}}

+

Resumen

+

Abre una ventana de chat, anclada en la parte inferior de la ventana del navegador. Cada ventana de chat suele ser un one-on-one chat, pero esta funcionalidad puede variar dependiendo del proveedor.

+

Sintaxis

+
MozSocial.openChatWindow(toUrl, callback);
+
+

Parametros

+
+
+ toUrl
+
+ URL a la que se abre la conexión de chat.
+
+ callback
+
+ Un objeto para recibir notificaciones de devolución de llamada en la conexión. La devolución de llamada recibe como entrada una referencia a la ventana de chat. Vease Implementing chat functionality para más detalles.
+
+

Especificaciones

+

No es parte de ninguna especificación.

diff --git a/files/es/web/api/mozsocial/openpanel/index.html b/files/es/web/api/mozsocial/openpanel/index.html new file mode 100644 index 0000000000..9ea96cd5bd --- /dev/null +++ b/files/es/web/api/mozsocial/openpanel/index.html @@ -0,0 +1,30 @@ +--- +title: MozSocial.openPanel +slug: Web/API/MozSocial/openPanel +translation_of: Archive/Social_API/MozSocial/openPanel +--- +

{{ ApiRef() }}

+

{{non-standard_header()}}

+

{{fx_minversion_header("17.0")}}

+

Resumen

+

Abre un panel desplegable sujeto a la barra lateral del proveedor de medios sociales con una distancia vertical dada.

+

Sintaxis

+
MozSocial.openPanel(toUrl, offset, callback);
+
+

Parámetros

+
+
+ toUrl
+
+ La URL al contenido a presentar en el panel.
+
+ offset
+
+ La distancia vertical, en pixeles, a la cual posicionar el panel desplegable.
+
+ callback
+
+ Un objeto para recibir notificaciones devueltas por la conexión. La llamada de vuelta recibe como entrada una referencia al panel desplegable. <<<OCUPA ENLACE A DETALLES>>>
+
+

Especificación

+

No es parte de ninguna especificación.

-- cgit v1.2.3-54-g00ecf