1.1.2 • Published 7 years ago

isad-widget v1.1.2

Weekly downloads
18
License
MIT
Repository
github
Last release
7 years ago

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 population2 – 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.