Skip to content

Commit ec1a691

Browse files
committed
Added configuration options in table.
1 parent d289791 commit ec1a691

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

15/umbraco-ui-builder/actions/the-basics.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ public class MyAction : Action<ActionResult>
2626
}
2727
````
2828

29-
The required configuration options are:
30-
31-
* **Name:** The name of the action.
32-
* **Alias:** A unique alias for the action.
33-
* **Icon:** An icon to display next to the action’s name.
34-
* **Execute:** The method that runs for the given list of entities.
35-
36-
The optional configuration options are:
37-
38-
* **ConfirmAction:** Set whether a confirm dialog should display before performing this action.
29+
### Configuration Options
30+
31+
| Option | Description | Required |
32+
|:-------------:|:--------------------------------------------------------------------------:|----------|
33+
| Name | The name of the action. | Yes |
34+
| Alias | A unique alias for the action. | Yes |
35+
| Icon | An icon to display next to the action’s name. | Yes |
36+
| Execute | The method that runs for the given list of entities. | Yes |
37+
| ConfirmAction | Set whether a confirm dialog should display before performing this action. | No |
3938

4039
The generic argument specifies the return type for the action. For more details, see the [Controlling the Action Result](#controlling-the-action-result) section below.
4140

15/umbraco-ui-builder/cards/custom-cards.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,16 @@ public class AvgPersonAgeCard : Card
2929
}
3030
````
3131

32-
The required configuration options are:
33-
34-
* **Name:** The name of the card.
35-
* **Alias:** A unique alias for the card.
36-
* **GetValue(object parentId = null):** A method to retrieve the card's value.
37-
38-
The optional configuration options are:
39-
40-
* **Icon:** An icon displaed in the card.
41-
* **Color:** The color of the card.
42-
* **Suffix:** The suffix displayed after the card value.
32+
### Configuration Options
33+
34+
| Option | Description | Required |
35+
|:--------------------------------:|:------------------------------------------:|----------|
36+
| Name | The name of the card. | Yes |
37+
| Alias | A unique alias for the card. | Yes |
38+
| GetValue(object parentId = null) | A method to retrieve the card's value. | Yes |
39+
| Icon | An icon displaed in the card. | No |
40+
| Color | The color of the card. | No |
41+
| Suffix | The suffix displayed after the card value. | No |
4342

4443
## Adding a Custom Card to a Collection
4544

0 commit comments

Comments
 (0)