@plattar/plattar-web
Version:
Module for interfacing with the Plattar Embeds and Web Viewers (https://www.plattar.com)
27 lines (22 loc) • 502 B
JavaScript
const BaseElement = require("./base/base-element.js");
class StudioElement extends BaseElement {
constructor() {
super();
}
get permissions() {
return ["autoplay"];
}
get elementType() {
return "studio";
}
get optionalAttributes() {
return [{
key: "variation-id",
map: "variationId"
}, {
key: "variation-sku",
map: "variationSku"
}];
}
}
module.exports = StudioElement;