papi-dts
    Preparing search index...

    Parts of the Scroll Group Service that are exposed through the network object

    interface IScrollGroupRemoteService {
        getScrRef(scrollGroupId?: number): Promise<SerializedVerseRef>;
        setScrRef(
            scrollGroupId: undefined | number,
            scrRef: SerializedVerseRef,
        ): Promise<boolean>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Get the SerializedVerseRef associated with the provided scroll group

      Parameters

      • OptionalscrollGroupId: number

        Scroll group whose Scripture reference to get. Defaults to 0

      Returns Promise<SerializedVerseRef>

      Scripture reference associated with the provided scroll group

    • Sets the SerializedVerseRef associated with the provided scroll group

      Parameters

      • scrollGroupId: undefined | number

        Scroll group whose Scripture reference to get. If undefined, defaults to 0

      • scrRef: SerializedVerseRef

        Scripture reference to which to set the scroll group

      Returns Promise<boolean>

      true if the Scripture reference changed. false otherwise