Skip to content

v0.2.2

Choose a tag to compare

@tungs tungs released this 28 Jan 19:37
· 156 commits to main since this release

v0.2.2 introduces an event system, where listeners can attach via timeweb.on(type, fn). These can be used in lieu of frame preparers (which will be removed in v0.3.0). The current event types supported are 'preseek', 'postseek', 'preanimate', and 'postanimate'.

Elements can also now use the data attribute data-timeweb-realtime to indicate that they shouldn't be processed by timeweb. For example <video data-timeweb-realtime></video>.

Full Changelog: v0.2.1...v0.2.2