Scenic.Primitive.get_styles

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

Specs

get_styles(primitive :: t()) :: map()

Get the styles map from a primitive.

Parameters:

  • primitive - The primitive

Returns the map of styles set directly onto this primitive. This does not include any inherited styles.