sample-glimmer-dsl-web-rails7-app

Sample Glimmer DSL for Web Rails 7 Application (by AndyObtiva)

Sample-glimmer-dsl-web-rails7-app Alternatives

Similar projects and alternatives to sample-glimmer-dsl-web-rails7-app

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better sample-glimmer-dsl-web-rails7-app alternative or higher similarity.

sample-glimmer-dsl-web-rails7-app reviews and mentions

Posts with mentions or reviews of sample-glimmer-dsl-web-rails7-app. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-17.
  • Glimmer DSL for Web Ruby Integration with JavaScript Libraries
    3 projects | dev.to | 17 May 2024
    class SamplesTable include Glimmer::Web::Component attribute :presenter markup { table(class: 'samples') { tbody { SampleSelectorPresenter::SAMPLES.each do |sample| tr { td(sample.name) class_name <= [presenter, :selected_sample, on_read: -> (val) { val == sample ? 'selected' : ''} ] onclick do |event| event.prevent_default presenter.selected_sample = sample end } end tr { # handle this sample differently via links to demonstrate visiting outside pages td { span('Hello, glimmer_component Rails Helper!') span(' ( ') a('Run', "data-turbo": "false", href: '/?address=true&full_name=John%20Doe&street=123%20Main%20St&street2=apt%2012&city=San%20Diego&state=California&zip_code=91911') span(' | ') a('Code', target: '_blank', href: 'https://github.com/AndyObtiva/sample-glimmer-dsl-web-rails7-app/blob/master/app/views/welcomes/_address_page.html.erb' ) span(' ) ') } } } style { r('table.samples') { border_spacing 0 } r('table.samples tr td') { border '1px solid transparent' padding '5px' } r('table.samples tr td:hover') { border '1px solid gray' } r('table.samples tr.selected td') { border '1px solid lightgray' background 'lightblue' } } } } end

Stats

Basic sample-glimmer-dsl-web-rails7-app repo stats
1
1
7.7
17 days ago

AndyObtiva/sample-glimmer-dsl-web-rails7-app is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of sample-glimmer-dsl-web-rails7-app is Ruby.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com