ClientHint
Specifies supported client hints.
Content copied to clipboard
elide.page.Context.ClientHint
Entries
Properties
Link copied to clipboard
`Device-Memory` rating/estimate.
Content copied to clipboard
DEVICE_MEMORY = 5;
Link copied to clipboard
Down-link speed estimate.
Content copied to clipboard
DOWNLINK = 4;
Link copied to clipboard
`Save-Data` flag/feature.
Content copied to clipboard
SAVE_DATA = 6;
Link copied to clipboard
An unknown client hint type.
Content copied to clipboard
UNKNOWN_CLIENT_HINT = 0;
Link copied to clipboard
Describes the width of the browser viewport.
Content copied to clipboard
VIEWPORT_WIDTH = 8;
Link copied to clipboard
Describes the width of a requested resource.
Content copied to clipboard
WIDTH = 7;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.