isad-widget
v1.1.2
Published
Display a configurable banner-link to promote International Stuttering Awareness Day (ISAD) - 22nd October.
Downloads
10
Maintainers
Readme
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)
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/[email protected]#._.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.