SP.UI.PopoutMenu object (sp.js)

Defines a pop-out menu.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.UI.PopoutMenu()
          

Members

The PopoutMenu object has the following members.

Constructor

The PopoutMenu object has the following constructor.

Constructor

Description

PopoutMenu

Initializes a new instance of the PopoutMenu object based on the relative information of pop-out menu.

Methods

The PopoutMenu object has the following methods.

Method

Description

beginModal

closeActivePopoutMenuInstance

closeMenu

Closes the pop-out menu.

createPopoutMenuInstanceAndLaunch

dispose

Release all resources of the pop-out menu.

endModal

ensureCSSClassOnElement

getViewableLeft

getViewableTop

getViewPortHeight

getViewPortWidth

launchMenu

Displays the pop-out menu.

onMenuClick

Raises the click event for the pop-out menu.

onMenuMouseOut

Raises the mouseout event for the pop-out menu.

onMenuMouseOver

Raises the mouseover event for the pop-out menu.

onModalKeyDown

positionBackFrame

Positions the back frame of the pop-out menu relative to the specified element.

positionMenu

Positions the pop-out menu.

positionMenuWithCoordinates

Positions the top-left corner of the pop-out menu with the specified coordinates.

removeCSSClassFromElement

Properties

The PopoutMenu object has the following properties.

Property

Description

activePopoutMenuInstance

backFrame

Gets the back frame of the pop-out menu.

defaultLaunchRight

Gets a value that indicates whether the direction of the menu text is left-to-right.

menuLaunched

Gets or sets a value that indicates whether the pop-out menu is currently displayed.