Skip to content

Commit 200e454

Browse files
Merge pull request SharePoint#8400 from SharePoint/thechriskent-patch-1
Added directionalHint valid values
2 parents 5e2c768 + 9e9b361 commit 200e454

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/declarative-customization/formatting-syntax-reference.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Formatting syntax reference
33
description: Formatting syntax reference
4-
ms.date: 08/12/2022
4+
ms.date: 08/30/2022
55
ms.localizationpriority: high
66
---
77

@@ -370,8 +370,10 @@ The `actionParams` attribute can have the following options when using the `exec
370370
Add a custom card to the element, that shows up on hover or click event. Following customization is available -
371371

372372
- `"formatter"`: JSON object that defines formatting for custom cards.
373-
- `"openOnEvent"`: Event on which the customCard should open. `"click"` or `"hover"` are the two allowed values.
374-
- `"directionalHint"`: Specify the direction relative to the target in which custom card will be positioned.
373+
- `"openOnEvent"`: Event on which the customCard should open.
374+
- Valid values: `click`, `hover`
375+
- `"directionalHint"`: Specify the direction relative to the target in which custom card will be positioned. This is the preferred ___location but is not guaranteed depending on space.
376+
- Valid values: `bottomAutoEdge`, `bottomCenter`, `bottomLeftEdge`, `bottomRightEdge`, `leftBottomEdge`, `leftCenter`, `leftTopEdge`, `rightBottomEdge`, `rightCenter`, `rightTopEdge`, `topAutoEdge`, `topCenter`, `topLeftEdge`, `topRightEdge`
375377
- `"isBeakVisible"`: Specify if the beak is to be shown or not.
376378
- `"beakStyle"`: Specifies the style object for custom card's beak.
377379

@@ -1174,4 +1176,4 @@ This will evaluate to the LCID of current culture. This can be used to format th
11741176

11751177
### "@UIlcid"
11761178

1177-
This will evaluate to the LCID of current UI culture. This can be used to show localized display strings.
1179+
This will evaluate to the LCID of current UI culture. This can be used to show localized display strings.

0 commit comments

Comments
 (0)