Scenic.Primitive.put_styles

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

put_styles(primitive, styles)

View Source

Specs

put_styles(primitive :: t(), styles :: map()) :: t()

Update the styles map in a primitive.

Parameters:

  • primitive - The primitive
  • styles - The new styles map

Returns the primitive with the updated styles.