JSPM

  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q73435F
  • License ISC

A weather widget based on zepto.

Package Exports

  • xt-weather-widget

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xt-weather-widget) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

xt-weather-widget

A weather widget based on zepto.

How to use?

  1. npm i xt-weather-widget
  2. add <div class="xt-weather" id="xt-weather"></div> in any place you want to put it.
  3. import initEl from 'xt-weather-widget'
  4. after page loaded.You can perform initEl()