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. It is recommended to call this method when the host app detects scroll events.

    onViewportLeft: () => void

    Triggered when the story block leaves the viewport. It is recommended that the host app is triggered when listening for scrolling.

    openFullscreen: () => void

    Open the fullscreen story block.

    pause: () => void

    Pause the story block.

    play: () => void

    Play the story block.