@duetds/components
Version:
This package includes Duet Components and related tools.
23 lines (18 loc) • 958 B
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
const __chunk_1 = require('./chunk-7888512a.js');
class DuetGrid {
constructor(hostRef) {
__chunk_1.registerInstance(this, hostRef);
}
/**
* render() function
* Always the last one in the class.
*/
render() {
return (__chunk_1.h("div", { class: "duet-grid" }, __chunk_1.h("slot", null)));
}
get element() { return __chunk_1.getElement(this); }
static get style() { return ":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent;border:0;padding:0;margin:0;margin-bottom:20px;display:-ms-flexbox;display:flex;vertical-align:top;width:100%}.duet-grid{display:grid;grid-template-columns:calc(33.333% - 20px) calc(33.333% - 20px) calc(33.333% - 20px);grid-column-gap:20px;grid-row-gap:0;width:100%}"; }
}
exports.duet_grid = DuetGrid;
;