@duetds/components
Version:
This package includes Duet Components and related tools.
26 lines (25 loc) • 1 kB
JavaScript
import { r as registerInstance, h, g as getElement } from './chunk-5cdff7bc.js';
var DuetGridCell = /** @class */ (function () {
function DuetGridCell(hostRef) {
registerInstance(this, hostRef);
}
/**
* render() function
* Always the last one in the class.
*/
DuetGridCell.prototype.render = function () {
return (h("div", { class: "duet-grid-cell" }, h("slot", null)));
};
Object.defineProperty(DuetGridCell.prototype, "element", {
get: function () { return getElement(this); },
enumerable: true,
configurable: true
});
Object.defineProperty(DuetGridCell, "style", {
get: function () { 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}"; },
enumerable: true,
configurable: true
});
return DuetGridCell;
}());
export { DuetGridCell as duet_grid_cell };