Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          defineNoSwipeRegion Function

          defineNoSwipeRegion Function

          Defines an area of the screen where the presentation player ignores the swipe gesture. This function enables field users to interact with dynamic content without interrupting the presentation or navigating accidentally.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.

          This function supports touch-based interaction and navigation and is available only in the Life Sciences Cloud mobile app. It's not supported on the desktop site, which uses standard UI controls, such as buttons and arrows.

          Syntax

          PresentationPlayer.defineNoSwipeRegion(regionId, x, y, width, height)

          Arguments

          Argument Description
          regionId The ID of the region where users can't swipe.
          x The horizontal coordinate of the top-left corner of the area where users can’t swipe as an absolute position, in points.
          y The vertical coordinate of the top-left corner where users can’t swipe as an absolute position, in points.
          width The width of the area where users can’t swipe, in points.
          height The height of the area where users can’t swipe, in points.

          Example

          In this example, the ID is region.

          IntelligentContentPlayer.defineNoSwipeRegion("region",50,50,100,100);
           
          Loading
          Salesforce Help | Article