bulmil
Version:

36 lines (35 loc) • 1.38 kB
JavaScript
System.register(['./index-1a441b18.system.js'], function (exports) {
'use strict';
var registerInstance, h, Host;
return {
setters: [function (module) {
registerInstance = module.r;
h = module.h;
Host = module.H;
}],
execute: function () {
var sectionCss = ".section{padding:3rem 1.5rem}@media screen and (min-width: 1024px){.section.is-medium{padding:9rem 1.5rem}.section.is-large{padding:18rem 1.5rem}}bm-section{display:block}";
var Section = /** @class */ (function () {
function Section(hostRef) {
registerInstance(this, hostRef);
/**
* CSS Classes
*/
this.class = '';
}
Section.prototype.render = function () {
var _a;
return (h(Host, { class: (_a = {
section: true
},
_a[this.size] = Boolean(this.size),
_a[this.class] = Boolean(this.class),
_a) }));
};
return Section;
}());
exports('bm_section', Section);
Section.style = sectionCss;
}
};
});