$.fn.jdenticon()

Renders identicon for all <canvas> and <svg> elements in the specified jQuery collection. Only available if jQuery is loaded before Jdenticon is loaded. Updates all identicons in the collection.

$(...).jdenticon([hash[, padding]])
Compability
Browser: Yes Node.js: No

Parameters

hash|value is considered a hash string if the string is hexadecimal and contains at least 11 characters. It is otherwise hashed using SHA1. If no hash or value is specified, the value of the data-jdenticon-value or data-jdenticon-hash attribute is used.

padding specifies the padding surrounding the icon in percents in the range 0.0 to 0.5. Default is 0.08.