Scenic.Primitive.put

You're seeing just the function put, go back to Scenic.Primitive module for more information.
Link to this function

put(primitive, data, opts \\ [])

View Source

Specs

put(primitive :: t(), data :: any(), opts :: list()) :: t()

Put primitive-specific data onto the primitive.

Like many of the functions in the Scenic.Primitive module, you are usually better off using the helper functions in Scenic.Primitives instead.

Parameters:

  • primitive - The primitive
  • data - The data to set
  • opts - A list of style/transform options to merge

Returns the updated primitive.