Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) version 0.5.0 has been released with support for Component Slots (by adding slot: :slot_name
to any parent element, like a div
, inside a Glimmer::Web::Component
markup {...}
element, and later having a consumer open a slot_name {...}
block inside the content block of a consumed component).
RubyGem : glimmer-dsl-web | RubyGems.org | your community gem host
Change Log
0.5.0
- Support Glimmer Web Component Slots (by adding
slot: :slot_name
to any parent element, like adiv
, inside aGlimmer::Web::Component
markup {...}
element, and later having a consumer open aslot_name {...}
block inside the content block of a consumed component) - Hello, Component Slots! Sample:
require 'glimmer-dsl-web/samples/hello/hello_component_slots'