Phoenix Octicons v0.3.0 PhoenixOcticons View Source
Provides helper functions for including GitHub Octicons in your Phoenix templates.
Examples
Inserts a normal-sized beaker icon in the template.
<%= octicon(:beaker) %>
Inserts a mega-sized (32 pixels) squirrel icon in the template.
<%= mega_octicon(:squirrel) %>
Link to this section Summary
Functions
Inserts a mega-sized (32 pixels) octicon in the current location in the template
Inserts a normal-sized octicon in the current location in the template
Link to this section Functions
Link to this function
mega_octicon(name, options \\ [])
View Source
mega_octicon(Octicons.octicon_name(), keyword()) :: Phoenix.HTML.safe()
Inserts a mega-sized (32 pixels) octicon in the current location in the template.
Link to this function
octicon(name, options \\ [])
View Source
octicon(Octicons.octicon_name(), keyword()) :: Phoenix.HTML.safe()
Inserts a normal-sized octicon in the current location in the template.