Skip to content

04 Buttons - v_button

v_button

Standard button component.

Features:

  • Optional confirmation dialog before action
  • Loading indicator and lock button during action

Notes:

  • To disable button use class xd-disabled

Props:

  • url { type: String, required: true },
  • model Object,
  • confirm { type: Boolean, default: false },
  • confirmtext { type: String, default: "v_modal_confirm_header" },
  • method default: 'post' optional 'get'
  • standard html title, class ...

Events:

  • @updated
HTML
1
2
3
<v_button title="hello world" class="xd-button xd-border" url="/api/core/system/ping" @updated="alert($event)">
  Hello
</v_button>