
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@codedungeon/vue-messenger
Advanced tools
Vue Messenger provides an expressive suite of features and customization
Vue Messenger is the vue partner to Codedungeon messenger suite
Using npm
npm i @codedungeon/vue-messenger
Using yarn
yarn @codedungeon/vue-messenger
title or description proptitle and description are supplied, title will be boldtitle is supplied, it will be moved to description attribute (no title displayed)Minimal
<crm-message type="info" description="Message Title" description="Message Description">
Success Message with icon
<crm-message type="success" description="Success" description="Contact Updated Successfully" :icon="true">
Warning Message with auto close
<crm-message type="warning" description="Warning" description="The light is turning red soon" :auto-close="true" auto-close-delay="2000" :icon="true">
...
errors from parent data
errors = ["error message one","error message two"]
...
<crm-message type="error" description="Validation Failed" description="There were 2 errors" :more="errors" :icon="true">
Vue Messenger provides the following props
| Prop | Type | Description |
|---|---|---|
type | String (default: "info") | Message type |
| options | alert, danger, error, info, success, warning | Available types |
title | String (default: "") | Message title |
description | String (default: "") | Message description |
icon | [Boolean] (default: false) | Message icon |
auto-close | Boolean (default: false) | Message auto close |
auto-close-delay | Number (default: 7500) | Number of milliseconds |
more | [String, Array] (default: "") | Additional text to display when show more displayed |
more-link-text | [String] (default: "show more") | Message displayed when more supplied |
debug | [Boolean] (default: false) | Console log debug information |
Vue Messenger provides the following events
| Event | Description |
|---|---|
close | Event fired when message closed |
closeMessage | alias to close event |
Vue Messenger provides the following methods
You can procedurally update message from parent component using an the component updateMessage method which accepts on object of message options
Note: All options will override default component options
| Event | Description |
|---|---|
updateMessage | Updates message (receives messasge config which may contain one or more) |
config | type (options): message type |
| title: message title | |
| description: message description | |
| autoClose (false): message autoClose | |
| autoCloseDelay (7500): message autoCloseDelay | |
more ([]): array of more messages | |
| moreLinkText ('show more'): message displayed when more items supplied | |
| icon (false): message icon | |
| debug (false): use message debug mode |
let msgOptions = { type: "success", title: "Success", description: "Contact Updated Successfully" }
this.$refs["crm-message"].updateMessage(msgOptions)
Please see CONTRIBUTING for details.
Please see CHANGELOG for details.
If you discover any security related issues, please email support@codedungeon.io instead of using the issue tracker.
vue-messenger written by Mike Erickson
E-Mail: mike.erickson@codedungeon.io
Twitter: @codedungeon
Website: codedungeon.io
Copyright © 2020 Mike Erickson Released under the MIT License
FAQs
Vue Messenger provides an expressive suite of features and customization
We found that @codedungeon/vue-messenger 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.