UNPKG

bulmil

Version:

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

61 lines (60 loc) 1.72 kB
import { Component, Prop, h, Host } from '@stencil/core'; export class Container { constructor() { /** * Fluid container */ this.isFluid = false; } render() { return (h(Host, { class: { container: true, 'is-fluid': this.isFluid, [this.breakpoint]: Boolean(this.breakpoint), } })); } static get is() { return "bm-container"; } static get originalStyleUrls() { return { "$": ["container.scss"] }; } static get styleUrls() { return { "$": ["container.css"] }; } static get properties() { return { "breakpoint": { "type": "string", "mutable": false, "complexType": { "original": "'is-widescreen' | 'is-fullhd'", "resolved": "\"is-fullhd\" | \"is-widescreen\"", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Container breakpoint" }, "attribute": "breakpoint", "reflect": false }, "isFluid": { "type": "boolean", "mutable": false, "complexType": { "original": "boolean", "resolved": "boolean", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Fluid container" }, "attribute": "is-fluid", "reflect": false, "defaultValue": "false" } }; } }