Scenic.Primitive.get_style

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

get_style(primitive, type, default \\ nil)

View Source

Specs

get_style(primitive :: t(), type :: atom(), default :: any()) :: any()

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

If the style is not set, it returns default

Parameters:

  • primitive - The primitive
  • type - atom representing the style to get.
  • default - default value to return if the style is not set.

Returns the value of the style.