nimbusex v0.4.0 Nimbusex.HTML.Image
Module adds image helper
Summary
Functions
Render an image tag. By defaut it accepts src and options. You can modify the attributes by passing a list as the last argument
Functions
Render an image tag. By defaut it accepts src and options. You can modify the attributes by passing a list as the last argument.
Source src can be url or static_path to you javascript source.
Examples: iex> image(“image.jpg”) ““
iex> image(“http://path.to.jpg”, alt: “image”) ““
iex> image(“image.jpg”, alt: “image”, class: “image”) ““