Skip to content

v1.1.0

Compare
Choose a tag to compare
@hacksalot hacksalot released this 25 Sep 16:13
· 2 commits to master since this release
v1.1.0
e469d58

Added

  • New default theme for gauges: unitless.
  • Pass arbitrary options with data-[option-name]="[option-value]" attributes on Revolve.js <canvas> elements. For example, switch a clock between continuous and discrete animation with data-mode="continuous".
  • Support for packaged builds (revolve.pkgd.js and revolve.pkgd.min.js) which include all themes. In these builds, predefined themes are embedded into the main Revolve object as Revolve.themes. For example, the dark theme can be accessed at Revolve.themes.dark.
  • Usage examples in the /examples folder.
  • Screenshots of each theme in the /assets/themes folder.

Fixed

  • Issue with auto-initialization of <canvas data-revolve="..."> elements.

Screenshot