UNPKG

@plattar/plattar-web

Version:

Module for interfacing with the Plattar Embeds and Web Viewers (https://www.plattar.com)

34 lines (28 loc) 612 B
const BaseElement = require("./base/base-element.js"); class ModelElement extends BaseElement { constructor() { super(); } get permissions() { return ["camera", "autoplay"]; } get elementType() { return "model"; } get coreAttributes() { return []; } get optionalAttributes() { return [{ key: "mode", map: "mode" }, { key: "capture-id", map: "capture_id" }, { key: "model-id", map: "model_id" }]; } } module.exports = ModelElement;