react-native-firework-sdk
    Preparing search index...

    Interface IStoryBlockMethods

    interface IStoryBlockMethods {
        onViewportEntered: () => void;
        onViewportLeft: () => void;
        openFullscreen: () => void;
        pause: () => void;
        play: () => void;
    }
    Index

    Properties

    onViewportEntered: () => 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.

    onViewportLeft: () => 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.

    openFullscreen: () => void

    Open the fullscreen story block. Only supported on Android.

    pause: () => void

    Pause the story block.

    play: () => void

    Play the story block.