Class: Matestack::Ui::VueJs::Components::Transition

Inherits:
Vue
  • Object
show all
Defined in:
lib/matestack/ui/vue_js/components/transition.rb

Instance Method Summary collapse

Methods inherited from Vue

#base_vue_props, #component_attributes, #component_id, #component_uid, #create_children, inherited, #initialize, #matestack_ui_vuejs_ref, #vue_component, vue_name, #vue_name

Constructor Details

This class inherits a constructor from Matestack::Ui::VueJs::Vue

Instance Method Details

#responseObject



10
11
12
13
14
15
16
17
# File 'lib/matestack/ui/vue_js/components/transition.rb', line 10

def response
  a attributes do
    if block_given?
      yield
    end
    plain self.text if self.text
  end
end