Below is the Jdenticon interface described. In most cases the HTML attributes are enough for using Jdenticon. Check them out before reading the rest of the API.
|data-jdenticon-value||Specified on a |
|data-jdenticon-hash||Specified on a |
|jdenticon.config||Configures the appearance of generated icons and the behavior of Jdenticon.|
|jdenticon()||Updates all |
|jdenticon.update()||Updates the identicon in a specific DOM element or for all elements matching a CSS selector.|
|jdenticon.drawIcon()||Renders an indenticon on a HTML canvas.|
|jdenticon.toPng()||Renders an identicon as a PNG image. Not available in the browser.|
|jdenticon.toSvg()||Renders an identicon as a SVG image.|
|$.fn.jdenticon()||jQuery wrapper plugin for updating all identicons in a query element collection.|
Jdenticon comes with a command line interface that allows you to generate identicons with no programming required.
A common problem is that no icons are rendered. Try one of the solutions in this article to solve the problem.