Class: Vime::Core::Playground
- Inherits:
-
Vime::Component
- Object
- ViewComponent::Base
- Vime::Component
- Vime::Core::Playground
- Defined in:
- app/components/vime/core/playground.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'app/components/vime/core/playground.rb', line 14 def call content_tag "vm-playground", content, process_attrs(dom_attrs) end |
#dom_attrs ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'app/components/vime/core/playground.rb', line 18 def dom_attrs super.merge({ poster: poster, provider: provider, show_custom_ui: show_custom_ui, src: src, theme: theme, }) end |