bigardone/elm-css-placeholders/2.0.1

Placeholders.Triangle

Renders a triangle placeholder.

Definition

Represents the configuration for a triangle placeholder

type Corner
= Top
| Right
| Bottom
| Left

Represents a triangle corner.

Returns a default configuration for a triangle placeholder.

Sets the bottom corner to a given triangle.

Sets the left corner to a given triangle.

Sets the right corner to a given triangle.

Adds backgroundColor to a Triangle.

Adds size to a Triangle.

View

view : Triangle -> Html msg

Renders a triangle placeholder using the given configuration.