0.2.0 • Published 6 years ago

sketch-polyfill-setinterval v0.2.0

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

sketch-polyfill-setInterval

A setInterval and clearInterval polyfill for sketch. It is automatically included (when needed) when using skpm.

Installation

npm i -S sketch-polyfill-setinterval

Usage

import {setInterval, clearInterval} from 'sketch-polyfill-setinterval'

const interval = setInterval(
  (param) => console.log(param),
  1000,
  'hello world'
)

clearInterval(interval)