pill icon indicating copy to clipboard operation
pill copied to clipboard

Add dynamic content loading to static sites with only 1 KiB of JS

Results 13 pill issues
Sort by recently updated
recently updated
newest added

Generate digest files on build step. Previously it was a `checksum.txt` which is actually can be confusing and contained no important information, like hash digest algorithm nor contained properly formatted...

I've moved the utility functions out and annotated them for sanity. They can now also be unit tested more easily.

I think the docs should have a simple diagram explaining the hooks and events order: ``` click link --> pill method --> pill method | hook | event --> etc....

documentation

proposed hook name: hook: `Pill.onInitialization();` proposed event name `pill:initialized` readme should be updated to reflect changes

enhancement
documentation

Currently data input in form fields will be lost when navigating through history. It could cause to data loss. Browsers are preserving it in some cases. Pill's implementation should be...

enhancement

Obviously the browser would need fetch and promise or polyfills. But maybe browser support should be added to readme?

question
documentation

I am using Pill and Snipcart together in a project. [Snipcart](https://snipcart.com/) is a "simple shopping cart solution that allows you to turn any website into a fully customizable e-commerce platform"....

question

Add `PillOptions.cache` option to overwrite Pill's cache. It should help to test Pill and to increase flexibility to solve different compatibility issues with manual Pill configuration. This property should be...

enhancement

### Expected behavior: When you serve the local files the pill links should fetch without loading the page ### Actual behavior Default behavior of anchor clicks needs to be prevented...

bug

Cannot read property 'scroll' of undefined at `window.scrollTo(0,e.state.scroll||0)`

bug