Skip to content

Custom Element that displays a Gravatar image for an email or a hash

License

Notifications You must be signed in to change notification settings

warpech/gravatar-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gravatar-img

Custom Element that displays a Gravatar image for an email or a hash. Does not require Polymer

Using gravatar-img

By email attribute

<gravatar-img email="[email protected]"></gravatar-img>

By email hash attribute

<script src="../spark-md5/spark-md5.js"></script>
<gravatar-img hash="f018de3ef195fb11de2bd4fbbab124a1"></gravatar-img>

Requirements

Using email attribute requires SparkMD5 (it is defined as a Bower dependency).

Requires a browser that implements Template, Shadow DOM, Custom Elements and HTML Imports (shimmed or native).

License

MIT

About

Custom Element that displays a Gravatar image for an email or a hash

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages