UNPKG

@bulmil/core

Version:

![bulmil](https://user-images.githubusercontent.com/2362138/65766959-c721a080-e16f-11e9-9fb9-45a5a2ad0391.jpg)

26 lines (21 loc) 659 B
/*! * Bulmil - MIT License */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const index = require('./index-965e612c.js'); const Column = class { constructor(hostRef) { index.registerInstance(this, hostRef); this.sizes = undefined; this.isNarrow = undefined; } render() { return (index.h(index.Host, { key: '1b5645e647b024fb55925537c174b48327777c1b', class: { column: true, 'is-narrow': this.isNarrow && typeof this.isNarrow === 'boolean', [this.sizes]: Boolean(this.sizes), } })); } }; exports.bm_column = Column;