You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sp-add-ins/highlight-content-and-enhance-the-functionality-of-sharepoint-hosted-sharepoint-.md
+3-10Lines changed: 3 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,3 @@
1
-
---
2
-
title: Highlight content and enhance the functionality of SharePoint-hosted SharePoint Add-ins with the callout control
3
-
ms.prod: SHAREPOINT
4
-
ms.assetid: bfa367bb-d2f5-4e3f-bf48-61b77f150f7d
5
-
---
6
-
7
-
8
1
9
2
# Highlight content and enhance the functionality of SharePoint-hosted SharePoint Add-ins with the callout control
10
3
The SharePoint callout control provides a flexible way to engage your user and showcase your SharePoint-hosted app's functionality. You can configure it in a variety of ways to suit your app's UI. This article shows you how to construct this control, add it to your page, and customize its appearance and behavior.
@@ -17,7 +10,7 @@ When you do searches in a SharePoint 2013 site, you'll see examples of the callo
17
10
18
11
19
12
20
-

13
+

21
14
22
15
23
16
@@ -101,7 +94,7 @@ You can use these members to control the display of callout.
101
94
|content|Display HTML inside the control whenever there is no value for the `contentElement` member.|string containing HTML, **null**, must be null if `contentElement` has a value|
102
95
|contentElement|Display an HTML element inside the control when there is no value for the `content` member.|any HTML element, **null**, must be null if `content` has a value|
103
96
|contentWidth|Specify the width, in pixels, of the callout body container. This container also has a 1-pixel border and 15-pixel padding on each side, so the control is 32 pixels wider than the body width that you specify. The control's CSS `overflow` property is set to `hidden`, so your content will be clipped if it does not fit inside the width that you specify. If you set this member on an open callout, the change will take effect immediately. This is not true of the other members.|Any number between 240 and 610, **350** (making the control 382 pixels wide by default)|
104
-
|beakOrientation|Specify the orientation of the beak or pointer of the callout control.|**topBottom**, to look like this (Figure 2):**Figure 2. Where the callout control's beak appears with the topBottom orientation****leftRight**, to look like this (Figure 3):**Figure 3. Where the callout control's beak appears with the leftright orientation**|
97
+
|beakOrientation|Specify the orientation of the beak or pointer of the callout control.|**topBottom**, to look like this (Figure 2):**Figure 2. Where the callout control's beak appears with the topBottom orientation****leftRight**, to look like this (Figure 3):**Figure 3. Where the callout control's beak appears with the leftright orientation**|
105
98
106
99
## How to customize the behavior of the callout control
107
100
<aname="Behavior"> </a>
@@ -219,7 +212,7 @@ When a callout action contains a menu instead of a single action, the user sees
219
212
220
213
221
214
222
-

215
+

223
216
224
217
You can create as many menu entries as you want and add them to the callout action by passing them in an array, as the value of the `menuEntries` member of the `CalloutAction` object.
0 commit comments