UNPKG

@microsoft/teams.cards

Version:

<p> <a href="https://www.npmjs.com/package/@microsoft/teams.cards" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.cards" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.cards?activeTab=code" ta

44 lines (41 loc) 843 B
'use strict'; var base = require('./base'); class ColumnSet extends base.ContainerElement { type; /** * The array of `Columns` to divide the region into. */ columns; /** * Specifies the minimum height of the column in pixels, like `\"80px\"`. */ minHeight; /** * Style hint for `ColumnSet`. */ style; constructor(...columns) { super(); this.type = "ColumnSet"; this.columns = columns; } withOptions(value) { Object.assign(this, value); return this; } withMinHeight(value) { this.minHeight = value; return this; } withStyle(value) { this.style = value; return this; } addColumns(...value) { this.columns.push(...value); return this; } } exports.ColumnSet = ColumnSet; //# sourceMappingURL=column-set.js.map //# sourceMappingURL=column-set.js.map