Experimental lib including a set of web components. It was retrieved from a small dead project, and will be reused for future small projects. It also has a demo, an npm package, and a Github repo.
Install with npm npm i cookies-ds
.
Import to your project with import "cookies-ds";
which will initialize all the web components.
Directly use the file cookies-ds.browser.min.js in your html web page. You can either build the library, or download it from the code section of the npm package, or use this cdn direct link https://unpkg.com/cookies-ds@1.0.1/dist/cookies-ds.browser.min.js.
Then use the script tag.
Use it in your web page:
Simple padlock with a clickable shackle that can be locked or unlocked.
Complex padlock with combinations, and digital screens.
Number wheel for a combination padlock.
Simple Lcd digital screen.
Padlock Digital screen containing release date.
A simple background. With cookies.
Big title.
A paragraph.
A link.
An infomation icon.
Non bindable input that to pick date and time.
Include the snackbar dock only once in your page. Then send messages from JavaScript.