-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Hi Dear Friends, How to use in CDN mode?
<script src="https://unpkg.com/tinykeys@1.4.0/dist/tinykeys.umd.js"></script>
I have attached the file to the html document but I do not know what script to use, what to change this script?
tinykeys(window, {
"Shift+D": () => {
alert("The 'Shift' and 'd' keys were pressed at the same time")
},
"y e e t": () => {
alert("The keys 'y', 'e', 'e', and 't' were pressed in order")
},
"$mod+KeyD": event => {
event.preventDefault()
alert("Either 'Control+d' or 'Meta+d' were pressed")
},
})
Please provide a complete description and example of how to use in CDN mode.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels