Glimmer DSL for Web 0.6.0 Released

Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) version 0.6.0 has been released with support for Glimmer Web Component Custom Event Listeners. Developers can now declare custom events on components like on_drawer_expanded {…} & on_drawer_collapsed {…} in a drawer component that listen to expansion and collapse events, or on_sample_change {…} in a samples_table component that enables listening to changes in the currently selected sample of a table of samples (e.g. in order to show the code of the selected sample).

GitHub: GitHub - AndyObtiva/glimmer-dsl-web: Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework)

Rubygem: glimmer-dsl-web | RubyGems.org | your community gem host

Change Log

0.6.0

  • Support Component Custom Event Listeners (declare inside Component with event :eventname or events :event1, :event2, ... and then listen inside consumer code by adding on_customeventname do; ...; end listener inside content block of a consumed Glimmer Web Component)
  • Using latest opal-sprockets 1.0.4 will fix an issue with Opal compilation breaking whenever upgrading Opal gems in a Rails project and trying to restart server and render a webpage locally.