@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
26 lines (24 loc) • 507 B
JavaScript
import { Element } from '../base';
class ActionSet extends 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;
}
}
export { ActionSet };
//# sourceMappingURL=action-set.mjs.map
//# sourceMappingURL=action-set.mjs.map