Skip to content

Instantly share code, notes, and snippets.

@guaiamum
Last active October 24, 2018 09:28
Show Gist options
  • Save guaiamum/c83e6c012964ecaa54a26d79c7568ad7 to your computer and use it in GitHub Desktop.
Save guaiamum/c83e6c012964ecaa54a26d79c7568ad7 to your computer and use it in GitHub Desktop.
makes cursor blink
let interval;
const blink = () => {
interval = setInterval(() => $('.cursor').toggle(), 600);
};
const stopBlinking = () => {
clearInterval(interval);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment