// #region Imports
import { html } from '../../../../Dom/Html';
import { Icons } from '../../../../Resources/Icons';
// #endregion
/**
 * The template of the {@link BackTopElement}.
 *
 * @public
 */
export function backTopElementTemplate(e) {
    return html `
        <div part="root">
            <mosaik-fab part="button"
                        .icon="${e.to === 'top' ? Icons.arrowSortUp : Icons.arrowSortDown}"
                        @click="${() => e.onClick()}"></mosaik-fab>
        </div>
    `;
}
//# sourceMappingURL=BackTopElementTemplate.js.map