Scenic.Primitive.put_style

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

put_style(p, type, data)

View Source

Specs

put_style(primitive :: t(), type :: atom(), data :: any()) :: t()

Update the value of a specific style set on the primitive.

Parameters:

  • primitive - The primitive
  • type - atom representing the style to get.
  • data - the value to set on the style.

Returns the updated primitive.