Class: Maglev::Turbo::Streams::TagBuilder
- Inherits:
-
Turbo::Streams::TagBuilder
- Object
- Turbo::Streams::TagBuilder
- Maglev::Turbo::Streams::TagBuilder
- Defined in:
- app/lib/maglev/turbo/streams/tag_builder.rb
Instance Method Summary collapse
Instance Method Details
#console_log(message) ⇒ Object
7 8 9 |
# File 'app/lib/maglev/turbo/streams/tag_builder.rb', line 7 def console_log() turbo_stream_action_tag :console_log, message: end |
#dispatch_event(type, payload:) ⇒ Object
11 12 13 |
# File 'app/lib/maglev/turbo/streams/tag_builder.rb', line 11 def dispatch_event(type, payload:) turbo_stream_action_tag :dispatch_event, type: type, payload: payload end |