ion-side-menu-content
Child of ionSideMenus

A container for the main visible content, sibling to one or more ionSideMenu directives.

Usage

<ion-side-menu-content
  edge-drag-threshold="true"
  drag-content="true">
</ion-side-menu-content>

For a complete side menu example, see the ionSideMenus documentation.

API

Attr Type Details
drag-content
(optional)
boolean

Whether the content can be dragged. Default true.

edge-drag-threshold boolean|number

Whether the content drag can only start if it is below a certain threshold distance from the edge of the screen. Default false. Accepts three types of values:

  • If a non-zero number is given, that many pixels is used as the maximum allowed distance from the edge that starts dragging the side menu.
  • If true is given, the default number of pixels (25) is used as the maximum allowed distance.
  • If false or 0 is given, the edge drag threshold is disabled, and dragging from anywhere on the content is allowed.