How to use the @lrnwebcomponents/dl-behavior/dl-behavior.js.MtzFileDownloadBehaviors function in @lrnwebcomponents/dl-behavior

To help you get started, we’ve selected a few @lrnwebcomponents/dl-behavior examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github elmsln / lrnwebcomponents / elements / hax-body / lib / hax-export-dialog.js View on Github external
import { LitElement, html, css } from "lit-element/lit-element.js";
import { MtzFileDownloadBehaviors } from "@lrnwebcomponents/dl-behavior/dl-behavior.js";
import { winEventsElement } from "@lrnwebcomponents/utils/utils.js";

/**
 * `hax-export-dialog`
 * @customElement hax-export-dialog
 * `Export dialog with all export options and settings provided.`
 */
class HaxExportDialog extends winEventsElement(
  MtzFileDownloadBehaviors(LitElement)
) {
  static get styles() {
    return [
      css`
        :host {
          display: block;
        }
        #dialog {
          z-index: 1000;
        }
        iron-icon:not(:defined),
        paper-button:not(:defined),
        paper-dialog:not(:defined) {
          display: none;
        }
        .title {

@lrnwebcomponents/dl-behavior

Start of download thing

Apache-2.0
Latest version published 9 months ago

Package Health Score

73 / 100
Full package analysis

Popular @lrnwebcomponents/dl-behavior functions