Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework) version 0.4.2 has been released! It comes with SVG support, a new Hello, SVG! sample and a very important new feature called Element Inline Style Data-Binding.
GitHub Project: GitHub - AndyObtiva/glimmer-dsl-web: Glimmer DSL for Web (Ruby-in-the-Browser Web Frontend Framework)
Ruby Gem: glimmer-dsl-web | RubyGems.org | your community gem host
Change Log (0.4.2):
- Support element inline style data-binding (e.g.
style(:background_color) <= [@button_model, :background_color]
) - Support SVG element keywords
- Hello, SVG! Sample:
require 'glimmer-dsl-web/samples/hello/hello_svg'
- Upgrade to glimmer-dsl-css 1.5.1 to get support for
px
,in
,pt
,cm
,mm
,em
methods onNumeric
(e.g.14.px
=>"14px"
/2.em
=>"2em"
) and support for%
method onInteger
/Float
to allow producing%
CSS values (e.g.90.%
=>"90%"
)