View Source PetalComponents.Helpers (petal_components v1.4.7)
Module for constructing dynamic class names
Summary
Functions
Builds a class string from a given input list by joining them together
Functions
Builds a class string from a given input list by joining them together
This code was taken from Elixirs Enum.join/2
function and optimized for
building class name (e.g removing empty strings and joining with " " by default)