UNPKG

629 BJavaScriptView Raw
1'use strict';
2
3Object.defineProperty(exports, '__esModule', { value: true });
4
5const core = require('./core-dd01c714.js');
6
7const Column = class {
8 constructor(hostRef) {
9 core.registerInstance(this, hostRef);
10 /**
11 * CSS Classes
12 */
13 this.class = '';
14 }
15 render() {
16 return (core.h(core.Host, { class: {
17 column: true,
18 'is-narrow': this.isNarrow && typeof this.isNarrow === 'boolean',
19 [this.sizes]: Boolean(this.sizes),
20 [this.class]: Boolean(this.class),
21 } }));
22 }
23};
24
25exports.bm_column = Column;