API Reference
Usage
$vfm
is an object containing VueFinalModal's data/methods.
Options API
Just use this.$vfm.
Composition API Vue 3 only
import { inject } from 'vue'
export default {
setup() {
const $vfm = inject('$vfm')
}
}
API
show(name, params)
- Type:
Function - Arguments:
- name:
String- Name of the modal - params:
?: object- Any data that you want to pass into the modal, checkout the guide params.
- name:
- Returns: Promise