lib/phlex/rails/helpers.rb in phlex-rails-0.6.0 vs lib/phlex/rails/helpers.rb in phlex-rails-0.6.1
- old
+ new
@@ -340,10 +340,24 @@
# @!method distance_of_time_in_words_to_now(...)
define_value_helper :distance_of_time_in_words_to_now
end
+ module DOMClass
+ extend Phlex::Rails::HelperMacros
+
+ # @!method dom_class(...)
+ define_value_helper :dom_class
+ end
+
+ module DOMID
+ extend Phlex::Rails::HelperMacros
+
+ # @!method dom_id(...)
+ define_value_helper :dom_id
+ end
+
module EmailField
extend Phlex::Rails::HelperMacros
# @!method email_field(...)
# @return [nil]
@@ -1251,9 +1265,37 @@
module Truncate
extend Phlex::Rails::HelperMacros
# @!method truncate(...)
define_value_helper :truncate
+ end
+
+ module TurboFrameTag
+ extend Phlex::Rails::HelperMacros
+
+ # @!method turbo_frame_tag(...)
+ define_output_helper_with_capture_block :turbo_frame_tag
+ end
+
+ module TurboIncludeTags
+ extend Phlex::Rails::HelperMacros
+
+ # @!method turbo_include_tags(...)
+ define_output_helper :turbo_include_tags
+ end
+
+ module TurboStream
+ extend Phlex::Rails::HelperMacros
+
+ # @!method turbo_stream(...)
+ define_builder_yielding_helper :turbo_stream, Phlex::Rails::Buffered
+ end
+
+ module TurboStreamFrom
+ extend Phlex::Rails::HelperMacros
+
+ # @!method turbo_stream_from(...)
+ define_output_helper :turbo_stream_from
end
module URLField
extend Phlex::Rails::HelperMacros