SdrScrollTo

GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo


Table of Contents ▼

Jump to a specific part of the page:

Description

Data needed to construct a go/scroll-to text fragment. The url fragment is: #:~:text=[prefix-,]text_start,text_end

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. onpageMatches (type: GoogleApi.ContentWarehouse.V1.Model.SdrScrollToOnPageMatches, default: nil)
    -
  2. prefix (type: String.t, default: nil)
    - Prefix to help with disambiguating between multiple text matches on page. Optional.
  3. suffix (type: String.t, default: nil)
    - Suffix to help with disambiguating between multiple text matches on page. Optional.
  4. textEnd (type: String.t, default: nil)
    - End of the text span to be highlighted. Optional.
  5. textStart (type: String.t, default: nil)
    - Start of the text span to be highlighted.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo{
onpageMatches: GoogleApi.ContentWarehouse.V1.Model.SdrScrollToOnPageMatches.t() | nil,
prefix: String.t() | nil,
suffix: String.t() | nil,
textEnd: String.t() | nil,
textStart: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SdrScrollTo