Skip to content

ftxDialog

Shows a custom dialog component.

Parameters

  • options (Object) - Dialog options
    • component (Component) - Vue component to display
    • componentProps (Object) - Props to pass to component
    • persistent (Boolean) - Prevent dismissal on backdrop click
    • Other Quasar Dialog options

Returns

Dialog instance

Usage

javascript
import { ftxDialog } from '@ftx/ui';
import MyCustomDialog from './MyCustomDialog.vue';

ftxDialog({
  component: MyCustomDialog,
  componentProps: {
    title: 'Custom Dialog',
    data: someData
  }
});

Released under the MIT License.