How to use the @lrnwebcomponents/hax-body-behaviors/lib/HAXWiring.js.HAXWiring 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 / person-testimonial / person-testimonial.es6.js View on Github external
afterNextRender(this, function() {
      this.HAXWiring = new HAXWiring();
      this.HAXWiring.setup(
        PersonTestimonial.haxProperties,
        PersonTestimonial.tag,
        this
      );
    });
  }
github elmsln / lrnwebcomponents / elements / aframe-player / aframe-player.es6.js View on Github external
afterNextRender(this, function() {
      this.HAXWiring = new HAXWiring();
      this.HAXWiring.setup(AframePlayer.haxProperties, AframePlayer.tag, this);
    });
  }
github elmsln / lrnwebcomponents / elements / simple-fields / simple-fields.js View on Github external
_setValues() {
    let wiring = new HAXWiring(),
      schema = wiring._getHaxJSONSchemaProperty(this.fields, wiring);
    for (let prop in this.value) {
      if (schema[prop]) schema[prop].value = this.value[prop];
    }
    this.set("__validatedSchema", { properties: schema });
    this.notifyPath("__validatedSchema.properties.*");
  }
}
github elmsln / lrnwebcomponents / elements / task-list / task-list.js View on Github external
afterNextRender(this, function() {
      this.HAXWiring = new HAXWiring();
      this.HAXWiring.setup(TaskList.haxProperties, TaskList.tag, this);
    });
  }
github elmsln / lrnwebcomponents / elements / simple-fields / simple-fields.es6.js View on Github external
_setValues() {
    let wiring = new HAXWiring(),
      schema = wiring._getHaxJSONSchemaProperty(this.fields, wiring);
    for (let prop in this.value) {
      if (schema[prop]) schema[prop].value = this.value[prop];
    }
    this.set("__validatedSchema", { properties: schema });
    this.notifyPath("__validatedSchema.properties.*");
  }
}
github elmsln / lrnwebcomponents / elements / video-player / src / video-player.js View on Github external
connectedCallback() {
    super.connectedCallback();
    this.HAXWiring = new HAXWiring();
    this.HAXWiring.setHaxProperties(
      VideoPlayer.haxProperties,
      VideoPlayer.tag,
      this
    );
  }
github elmsln / lrnwebcomponents / elements / self-check / self-check.es6.js View on Github external
afterNextRender(this, function() {
      this.HAXWiring = new HAXWiring();
      this.HAXWiring.setup(SelfCheck.haxProperties, SelfCheck.tag, this);
      import("@lrnwebcomponents/user-action/user-action.js");
    });
  }
github elmsln / lrnwebcomponents / elements / hax-editbar / src / hax-editbar.js View on Github external
connectedCallback() {
    super.connectedCallback();
    this.HAXWiring = new HAXWiring();
    this.HAXWiring.setHaxProperties(
      HaxEditbar.haxProperties,
      HaxEditbar.tag,
      this
    );
  }
  /**
github elmsln / lrnwebcomponents / elements / video-player / video-player.js View on Github external
connectedCallback() {
    super.connectedCallback();
    this.HAXWiring = new HAXWiring();
    this.HAXWiring.setup(VideoPlayer.haxProperties, VideoPlayer.tag, this);
  }
github elmsln / lrnwebcomponents / elements / hax-editbar / hax-editbar.js View on Github external
connectedCallback() {
    super.connectedCallback();
    this.HAXWiring = new HAXWiring();
    this.HAXWiring.setHaxProperties(
      HaxEditbar.haxProperties,
      HaxEditbar.tag,
      this
    );
  }
  /**