Skip to content

Commit f9d7aa7

Browse files
authored
Update highlight-content-and-enhance-the-functionality-of-sharepoint-hosted-sharepoint-.md
1 parent b4c8be8 commit f9d7aa7

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

docs/sp-add-ins/highlight-content-and-enhance-the-functionality-of-sharepoint-hosted-sharepoint-.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff 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-
81

92
# Highlight content and enhance the functionality of SharePoint-hosted SharePoint Add-ins with the callout control
103
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
1710

1811

1912

20-
![Example of the callout control on a SharePoint 2013 search results page](images/S15_CalloutControlExample.png)
13+
![Example of the callout control on a SharePoint 2013 search results page](../../images/S15_CalloutControlExample.png)
2114

2215

2316

@@ -101,7 +94,7 @@ You can use these members to control the display of callout.
10194
|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|
10295
|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|
10396
|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** ![Where the callout control's beak appears with the topbottom orientation](images/SP15_CalloutTopBottom.png) **leftRight**, to look like this (Figure 3):**Figure 3. Where the callout control's beak appears with the leftright orientation** ![Where the callout control's beak appears with the leftright orientation](images/SP15_CalloutLeftRight.png)|
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** ![Where the callout control's beak appears with the topbottom orientation](../../images/SP15_CalloutTopBottom.png) **leftRight**, to look like this (Figure 3):**Figure 3. Where the callout control's beak appears with the leftright orientation** ![Where the callout control's beak appears with the leftright orientation](../../images/SP15_CalloutLeftRight.png)|
10598

10699
## How to customize the behavior of the callout control
107100
<a name="Behavior"> </a>
@@ -219,7 +212,7 @@ When a callout action contains a menu instead of a single action, the user sees
219212

220213

221214

222-
![A callout action displays a menu when a user clicks on the arrow next to the action label.](images/SP15_CalloutMenu.png)
215+
![A callout action displays a menu when a user clicks on the arrow next to the action label.](../../images/SP15_CalloutMenu.png)
223216

224217
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.
225218

0 commit comments

Comments
 (0)