View Source
Pyro.Component.Helpers
(Pyro v0.1.1)
A library of helpers for using/authoring Pyro components.
A JS
function to toggle CSS classes, since Phoenix does not yet provide one out of the box.
Translates the errors for a field from a keyword list of errors.
A JS
function to toggle CSS classes, since Phoenix does not yet provide one out of the box.
toggle_class("rotate-180 bg-green", to: "#icon")
Translates the errors for a field from a keyword list of errors.