Pexels.Photo.Source (Pexels v0.1.0) View Source

%Pexels.Photo.Source {
  landscape: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=627&w=1200",
  large: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&h=650&w=940",
  large2x: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940",
  medium: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&h=350",
  original: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg",
  portrait: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=800",
  small: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&h=130",
  tiny: "https://images.pexels.com/photos/156934/pexels-photo-156934.jpeg?auto=compress&cs=tinysrgb&dpr=1&fit=crop&h=200&w=280"
}

Link to this section Summary

Link to this section Types

Specs

t() :: %Pexels.Photo.Source{
  landscape: String.t(),
  large: String.t(),
  large2x: String.t(),
  medium: String.t(),
  original: String.t(),
  portrait: String.t(),
  small: String.t(),
  tiny: String.t()
}

Link to this section Functions

Link to this function

cast(params, opts \\ [])

View Source

Callback implementation for Construct.cast/2.

Link to this function

get(struct, key, default \\ nil)

View Source
Link to this function

make(params \\ %{}, opts \\ [])

View Source

Callback implementation for Construct.make/2.

Link to this function

make!(params \\ %{}, opts \\ [])

View Source

Callback implementation for Construct.make!/2.