Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

isad-widget

1.1.2 • Public • Published

Build status — Travis-CI js-semistandard-style ISAD-widget on Npmjs License Total downloads ~ NPMJS.com

isad-widget

Display a banner-link to promote International Stuttering Awareness Day (ISAD) — 22nd October each year. The banner appears for a configurable number of days before and after.

October 22 was designated International Stuttering Awareness Day (ISAD) in 1998.[1] The day is intended to raise public awareness of the millions of people – one percent of the world's population[2][3] – who have the speech disorder of stuttering, also known as stammering. (Wikipedia)

International Stuttering Awareness Day (ISAD)

International Stuttering Awareness Day (ISAD)

International Stuttering Awareness Day (ISAD)

Note ~ this is not an official widget!

Install and test

npm i isad-widget
npm run build
npm test

Usage

<div id="isad-widget"></div>
 
<script src="dist/isad-widget.js"></script>

Via unpkg — production CDN:

<div id="isad-widget"></div>
 
<script src="https://unpkg.com/isad-widget@1.1.2#._.js"></script>

Link to the BSA, instead of ISA (the default):

<div id="isad-widget" data-isad-widget='{ "point_bsa": true }'></div>
 
<script src="dist/isad-widget.js"></script>

Configure the banner to appear for 28 days before ISAD, instead of the default:

<div id="isad-widget" data-isad-widget='{ "days_before": 28 }'></div>
 
<script src="dist/isad-widget.js"></script>

Credits

  • The themed posters (e.g. 2017 'A world that understands stuttering') are copyright the ISA,
  • The ISAD-ribbon is available under a Creative Commons CC-BY-3.0 license,
  • The Teal-ribbon is available under a Creative Commons CC-BY-SA-3.0 license.

See the related gaad-widget.

License

License: MIT.

Twitter: @nfreear.

install

npm i isad-widget

Downloadsweekly downloads

19

version

1.1.2

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar