Sha256: d76cb0deac8da5021c3da47adb4c3dfbf887d31319ce74d7455c71b43fd7bd9d
Contents?: true
Size: 358 Bytes
Versions: 7
Compression:
Stored size: 358 Bytes
Contents
# frozen_string_literal: true module ScrimHelper def scrim_tag(z_index: 40) tag.div(class: "scrim", data: { controller: "scrim", scrim_z_index_value: z_index, action: <<~ACTIONS }) click->scrim#dismiss keyup@window->scrim#escape scrim:request:hide@window->scrim#hide scrim:request:show@window->scrim#show ACTIONS end end
Version data entries
7 entries across 7 versions & 1 rubygems