ComPDFKit Web SDK
    Preparing search index...

    Function setSwipeOrientation

    • Sets the allowed swipe directions for turning pages: 'horizontal', 'vertical' or 'both'. Defaults to 'both'; swipe page turning only exists in full screen presentation. Invalid values are ignored with a warning.

      Parameters

      • swipeOrientation: string

        'horizontal', 'vertical' or 'both'.

      Returns void