Class: Matestack::Ui::VueJs::Components::Collection::OrderToggleIndicator
- Inherits:
-
Component
- Object
- Matestack::Ui::VueJs::Components::Collection::OrderToggleIndicator
- Defined in:
- lib/matestack/ui/vue_js/components/collection/order_toggle_indicator.rb
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/matestack/ui/vue_js/components/collection/order_toggle_indicator.rb', line 11 def response span do span "v-if": "vc.ordering['#{ctx.key}'] === undefined" do plain ctx.default end unescaped "{{ vc.orderIndicator( '#{ctx.key}', { asc: '#{ctx.asc}', desc: '#{ctx.desc}'} ) }}" end end |