bulmil
Version:

35 lines (34 loc) • 1.23 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 Column = /** @class */ (function () {
function Column(hostRef) {
registerInstance(this, hostRef);
/**
* CSS Classes
*/
this.class = '';
}
Column.prototype.render = function () {
var _a;
return (h(Host, { class: (_a = {
column: true,
'is-narrow': this.isNarrow && typeof this.isNarrow === 'boolean'
},
_a[this.sizes] = Boolean(this.sizes),
_a[this.class] = Boolean(this.class),
_a) }));
};
return Column;
}());
exports('bm_column', Column);
}
};
});