Herbert Vojčík c580f1482c bump trysmalltalk and re-`bower install` the rest 9 years ago
..
tests 7575f504ce Build site image; npm install;bower install;grunt devel 10 years ago
README.md 7575f504ce Build site image; npm install;bower install;grunt devel 10 years ago
mousetrap-record.js c580f1482c bump trysmalltalk and re-`bower install` the rest 9 years ago
mousetrap-record.min.js c580f1482c bump trysmalltalk and re-`bower install` the rest 9 years ago

README.md

Record

This extension lets you use Mousetrap to record keyboard sequences and play them back:

<button onclick="recordSequence()">Record</button>

<script>
    function recordSequence() {
        Mousetrap.record(function(sequence) {
            // sequence is an array like ['ctrl+k', 'c']
            alert('You pressed: ' + sequence.join(' '));
        });
    }
</script>