|
ce472773c9
|
bring bundle config up-to-date with rollup template
https://github.com/jakejarvis/rollup-module-template
|
2021-10-09 16:49:25 -04:00 |
|
|
9c9351398d
|
remove toggle || null (already checked for)
|
2021-10-04 09:26:15 -04:00 |
|
|
45d856cab3
|
add onUserToggle callback, move onInit and onChange up
|
2021-10-04 09:25:10 -04:00 |
|
|
8670de8a30
|
types: HTMLElement -> Element | null
|
2021-09-09 17:55:23 -04:00 |
|
|
fa128cb222
|
remove super-duper edge case testing of localStorage support
use the following methods externally to test on older browsers if needed:
- https://www.npmjs.com/package/storage-available
- https://www.npmjs.com/package/local-storage-fallback
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#testing_for_availability
|
2021-08-22 10:38:26 -04:00 |
|
|
755ac19dba
|
small cleanup
|
2021-08-05 08:41:45 -04:00 |
|
|
cfa1f575e3
|
add onInit and onChange callback function options
|
2021-08-05 07:54:47 -04:00 |
|
|
f87f43c5c5
|
clean up type defs, update example HTML
|
2021-08-04 20:59:02 -04:00 |
|
|
eedd0a96e0
|
much simpler bundling with rollup, also generate separate ESM and CJS files
|
2021-08-04 19:16:33 -04:00 |
|
|
a91d67cfeb
|
a bit more cleanup
|
2021-08-04 15:34:22 -04:00 |
|
|
e4d7e4f61b
|
remove unnecessary deps (now zero 😎)
|
2021-08-04 15:19:54 -04:00 |
|
|
4881b908e9
|
expose an init function instead of exporting as module default
|
2021-08-04 15:00:26 -04:00 |
|
|
df3b462de0
|
bundle into a UMD script via webpack for both browser & node
|
2021-08-04 11:31:37 -04:00 |
|