
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@signainfo/sconfirmationdialog
Advanced tools
npm i --save @signainfo/sconfirmationdialog
It can be installed globally using:
import Vue from 'vue'
import SConfirmationDialog from '@signainfo/sconfirmationdialog'
import '@signainfo/sconfirmationdialog/dist/sconfirmationdialog.css'
...
Vue.use(SConfirmationDialog)
...
or used on demand:
<script>
import SConfirmationDialog from '@signainfo/sconfirmationdialog'
export default {
name: 'App',
components: {
's-confirmation-dialog': SConfirmationDialog
},
data() {
...
}
}
</script>
and use inside the template tag:
<template>
...
<s-confirmation-dialog
:show="confirmDialog"
title="Titulo"
subtitle="Subititulo"
ok-text="confirm"
cancel-text="cancel"
:max-width="500"
@confirm="confirmDialog = false"
@cancel="confirmDialog = false"
></s-confirmation-dialog>
...
</template>
Props:
props: {
show: { type: Boolean, required: true, default: false },
title: { type: String, required: false, default: 'Confirmar' },
subtitle: { type: String, required: true, default: '' },
okText: { type: String, required: false, default: 'Confirmar' },
cancelText: { type: String, required: false, default: 'Cancelar' },
maxWidth: { type: Number, required: false, default: 290 }
}
npm start // start the test app
npm run build // builds the component and publish to npm
Before building the component you need to advance the version using npm semver:
npm version patch // to patch version
npm version minor // to minor version
npm version major // to major version
FAQs
### Installation
The npm package @signainfo/sconfirmationdialog receives a total of 3 weekly downloads. As such, @signainfo/sconfirmationdialog popularity was classified as not popular.
We found that @signainfo/sconfirmationdialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.