
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
gitart-manage-vue-dialog
Advanced tools
gitart-manage-vue-dialog
The dialog utilities allow you to manage dialogs consistently without putting the components in the template. Or even launch dialogs from a store.
Works with any dialog component. The component should have modelValue
prop that is used to open and close the dialog.
You can import all these properties from the gitart-manage-vue-dialog
module.
gitartDialogInjectionKey
- vue injection key for the dialog controllergitartDialogPlugin
- vue plugin. Usage belowGDialogSpawn
- component to use with plugin. Usage belowIGDialog
- read the codebase for more informationIGDialogItem
- read the codebase for more informationuseDialogConfirm
- read the codebase for more informationuseDialogReturnData
- read the codebase for more informationuseGDialog
- helper to use the dialog controller. Usage belowApp.vue
import { GDialogSpawn } from 'gitart-manage-vue-dialog'
<GDialogSpawn />
main.ts
import { gitartDialogPlugin } from 'gitart-manage-vue-dialog'
app.use(gitartDialogPlugin)
You can receive the dialog controller by injection or by using the useGDialog
function.
import { gitartDialogInjectionKey } from 'gitart-manage-vue-dialog'
const $dialog = inject(gitartDialogInjectionKey)!
const openDialog = () => {
$dialog.addDialog({
component: MyDialog,
props: {
title: 'My dialog',
},
})
}
import { useGDialog } from 'gitart-manage-vue-dialog'
const $dialog = useGDialog()
const openDialog = () => {
$dialog.addDialog({
component: MyDialog,
props: {
title: 'My dialog',
},
})
}
$dialog
has the following methods and properties:
addDialog
- add a dialog to the queuedialogs
- list of dialogsremoveDialog
- remove a dialog from the queueFAQs
RegData Shared Utilities
We found that gitart-manage-vue-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.