@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
28 lines (25 loc) • 530 B
JavaScript
;
var base = require('../base');
class ActionSet extends base.Element {
type;
/**
* The array of `Action` elements to show.
*/
actions;
constructor(...actions) {
super();
this.type = "ActionSet";
this.actions = actions;
}
withOptions(value) {
Object.assign(this, value);
return this;
}
addActions(...value) {
this.actions.push(...value);
return this;
}
}
exports.ActionSet = ActionSet;
//# sourceMappingURL=action-set.js.map
//# sourceMappingURL=action-set.js.map