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):
Attributes
-
onpageMatches
(type:GoogleApi.ContentWarehouse.V1.Model.SdrScrollToOnPageMatches
, default:nil
)
- -
prefix
(type:String.t
, default:nil
)
- Prefix to help with disambiguating between multiple text matches on page. Optional. -
suffix
(type:String.t
, default:nil
)
- Suffix to help with disambiguating between multiple text matches on page. Optional. -
textEnd
(type:String.t
, default:nil
)
- End of the text span to be highlighted. Optional. -
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
}
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