gaffa-delay

1.1.0 • Public • Published

gaffa-delay

delay action for gaffa

basically setTimeout.

Install:

npm i gaffa-delay

Add to gaffa:

gaffa.behaviours.constructors.delay = require('gaffa-delay');

API

Properties (instanceof Gaffa.Property)

delay

Number of miliseconds to delay calling 'trigger'

Actions

trigger

called when the delay timer goes off.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i gaffa-delay

      Weekly Downloads

      1

      Version

      1.1.0

      License

      MIT

      Last publish

      Collaborators

      • korynunn