Interface IStoryBlockMethods

Hierarchy

  • IStoryBlockMethods

Properties

onViewportEntered: (() => void)

Type declaration

    • (): void
    • Triggered when the story block enters the viewport. Only supported on iOS. It is recommended that the host app is triggered when listening for scrolling.

      Returns void

onViewportLeft: (() => void)

Type declaration

    • (): void
    • Triggered when the story block leaves the viewport. Only supported on iOS. It is recommended that the host app is triggered when listening for scrolling.

      Returns void

openFullscreen: (() => void)

Type declaration

    • (): void
    • Open the fullscreen story block. Only supported on Android.

      Returns void

pause: (() => void)

Type declaration

    • (): void
    • Pause the story block.

      Returns void

play: (() => void)

Type declaration

    • (): void
    • Play the story block.

      Returns void

Generated using TypeDoc