How to use the @lrnwebcomponents/hax-body-behaviors/hax-body-behaviors.js.HAXElement function in @lrnwebcomponents/hax-body-behaviors

To help you get started, we’ve selected a few @lrnwebcomponents/hax-body-behaviors 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-store.js View on Github external
getRange,
  encapScript,
  wipeSlot,
  stripMSWord
} from "@lrnwebcomponents/utils/utils.js";
import { HAXElement } from "@lrnwebcomponents/hax-body-behaviors/hax-body-behaviors.js";
import { CodeSample } from "@lrnwebcomponents/code-sample/code-sample.js";
import "@polymer/iron-ajax/iron-ajax.js";
import "@lrnwebcomponents/simple-toast/simple-toast.js";
import "./hax-app.js";
import "./hax-stax.js";
import "./hax-blox.js";
/**
 * @customElement hax-store
 */
class HaxStore extends winEventsElement(HAXElement(LitElement)) {
  /**
   * LitElement constructable styles enhancement
   */
  static get styles() {
    return [
      css`
        :host {
          display: none;
        }
      `
    ];
  }
  /**
   * LitElement render
   */
  render() {
github elmsln / lrnwebcomponents / elements / hax-body / lib / hax-autoloader.js View on Github external
import { LitElement, html, css } from "lit-element/lit-element.js";
import { FlattenedNodesObserver } from "@polymer/polymer/lib/utils/flattened-nodes-observer.js";
import { HAXElement } from "@lrnwebcomponents/hax-body-behaviors/hax-body-behaviors.js";
import { varGet } from "@lrnwebcomponents/utils/utils.js";

/**
 * `hax-autoloader`
 * @customElement hax-autoloader
 * `Automatically load elements based on the most logical location with future fallback support for CDNs.`
 * @microcopy - the mental model for this element
 * - hax-autoloader - autoloading of custom element imports which can then emmit events as needed
 * @customElement hax-autoloader
 */
class HaxAutoloader extends HAXElement(LitElement) {
  /**
   * LitElement constructable styles enhancement
   */
  static get styles() {
    return [
      css`
        :host {
          display: none;
        }
      `
    ];
  }
  render() {
    return html`
      
    `;