Skip to content

a simple library for creating a series of events which can be played, paused, resumed, and searched

Notifications You must be signed in to change notification settings

dvinciinteractive/timelinejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

timelinejs

timelinejs is a simple library for creating a series of events which can be played, paused, and resumed.

The type of events:

  • playing audio
  • animate elements
  • pausing
  • adding markers for searching, forwarding, & rewinding
  • setting inner html
  • execute function
  • wait for user input
  • append elements
  • prepend elements
  • setting the css
  • add your own!

Adding your own

You can add your own event by registering it with the Timeline class:

Timeline.register('addCustom', {
  create: function( arguments... ) {},
  start: function( oncomplete ) {},
  pause: function() {},
  resume: function( oncomplete ) {}
});

And you can queue up that event later.

mytimeline.addCustom( 'Hello World!', 10 );

Checkout the example!

About

a simple library for creating a series of events which can be played, paused, resumed, and searched

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •