Home

Awesome

<xkcd-img>

Custom Polymer element for dispalying a random XKCD img!

Maintained by Hemanth.HM

Demo

Demo

Installation

$ bower install --save xkcd-img

Usage

  1. Import Web Components' polyfill:

<script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.1.4/platform.js"></script>

  1. Import Custom Element:

<link rel="import" href="src/xkcd-img.html">

  1. Start using it!

<xkcd-img> </xkcd-img>