Sha256: 0fd587584b4ea9ed3adaa328c75f9572a061124a18a8913ceea0bcf0d7d2d9e4
Contents?: true
Size: 479 Bytes
Versions: 38
Compression:
Stored size: 479 Bytes
Contents
# typed: false # frozen_string_literal: true module Ariadne module Turbo module StreamAction class Component < Ariadne::BaseComponent option :component option :action, default: -> { "update" } def target @target ||= component.component_id end def turbo_action @turbo_action ||= empty? ? "update" : action end def empty? action == "drop" end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems