xmpp.chapril.org-conversejs/src/templates/spinner.js
JC Brand 16ca8044f8 Add experimental support for running the XMPP conneciton inside a shared worker
Still lacks inter-tab communication to update state across tabs, i.e.
when sending a 1-on-1 message in one tab, it doesn't appear in another,
because that information is not available via the websocket connection.

- Create a new `Connection` class that extends Strophe.Connection and
    move related code from `converse-core.js` into this class.
- Store the session in localStorage when using a worker
- Move XEP-0156 code to connection.js
    This allows us to initialize the connection without needing to know the
    domain.
2020-07-27 12:43:47 +02:00

4 lines
131 B
JavaScript

import { html } from "lit-html";
export default (o={}) => html`<span class="spinner fa fa-spinner centered ${o.classes || ''}"/>`