jdenticon()

Updates all <canvas> and <svg> elements with the data-jdenticon-value or data-jdenticon-hash attribute.

jdenticon()
AvailabilityBrowserModuleNode.js
jdenticon()YesNoNo

Remarks

This method is only available in the standalone UMD build of Jdenticon. If you are consuming Jdenticon using a bundler like Webpack or Rollup, you are most likely using the module build which does not include this method. You can use jdenticon.update("[data-jdenticon-value],[data-jdenticon-hash]") to update all icons if needed.

If config.replaceMode is set to once or observe, this method will be called automatically upon the initial page load.

Be careful with this function – it will rerender all identicons on the page! On static pages or server generated pages, there is no need to call this method manually unless you have disabled automatic icon rendering.