class Matestack::Ui::VueJs::Components::Transition
Public Instance Methods
response() { || ... }
click to toggle source
# 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
Protected Instance Methods
attributes()
click to toggle source
# File lib/matestack/ui/vue_js/components/transition.rb, line 21 def attributes options.merge({ href: ctx.path, '@click.prevent': "navigateTo(\"#{ctx.path}\")", "v-bind:class": "{ active: isActive, 'active-child': isChildActive }" }) end
vue_props()
click to toggle source
# File lib/matestack/ui/vue_js/components/transition.rb, line 29 def vue_props { link_path: ctx.path, delay: ctx.delay, } end