We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c549b74 commit ad8e423Copy full SHA for ad8e423
src/Cards/Adaptive/Elements/TextRun.php
@@ -2,6 +2,8 @@
2
3
namespace Sebbmyr\Teams\Cards\Adaptive\Elements;
4
5
+use Sebbmyr\Teams\Cards\Adaptive\Actions\AdaptiveCardAction;
6
+
7
/**
8
* TextRun element
9
*
@@ -268,6 +270,18 @@ public function setItalic($italic)
268
270
return $this;
269
271
}
272
273
+ /**
274
+ * Sets SelectAction. Available options can be found in Cards/Adaptive/Actions.php
275
+ * @param string $selectAction
276
+ * @return TextRun
277
+ */
278
+ public function setSelectAction(AdaptiveCardAction $selectAction)
279
+ {
280
+ $this->selectAction = $selectAction;
281
282
+ return $this;
283
+ }
284
285
286
* Sets font size. Available options can be found in Styles.php
287
* @param string $size
0 commit comments