Comments (5)
Updated readme here 16fe4a8
still missing props.close instead of close
from vue3-notification.
Then if i remove the
{{ item.title }}
to get it work the@click="close"
also does not work to close the box.
the example is incorrect. use {{ props.item.title }}
and @click="props.close"
from vue3-notification.
@click="props.close"
it was never corrected to the correct version in the documentation
from vue3-notification.
When I use the example in the read me the template does not work:
<template #body="props">
<div class="my-notification">
<p class="title">
{{ item.title }}
</p>
<button class="close" @click="close">
<i class="fa fa-fw fa-close"></i>
</button>
<div v-html="props.item.text"/>
</div>
</template>
</notifications>
It gives this error:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'title')
Then if i remove the {{ item.title }}
to get it work the @click="close"
also does not work to close the box.
from vue3-notification.
Updated readme here 16fe4a8
from vue3-notification.
Related Issues (20)
- Runtime errors with Content Security Policy HOT 7
- Using this with Composition API maybe? HOT 2
- Styles and position won't work in 2.6.0 HOT 1
- How to use with NuxtJS? HOT 8
- Getting prop error using package for vue3 and vuetify HOT 8
- Can't use when Vue Options API is disabled HOT 5
- Problem with laravel sail and vite, "permission denied" on non-existing directory HOT 3
- Notification Start Event HOT 1
- Issue when building app HOT 5
- transition-group invalid html HOT 1
- click event HOT 3
- freeze for inactive user HOT 1
- Install via CDN Help HOT 2
- Two different groups, same position HOT 3
- Tags were removed HOT 4
- Add parameters position and width to API HOT 2
- Notifications not working when provided via vue plugin after version 2.4.1 HOT 2
- Title wrongly rendered from item.timer when item.dangerouslySetInnerHtml is set HOT 1
- Failed to resolve import "@kyvg/vue3-notification" from "src\main.js". Does the file exist? HOT 2
- Add a mention of the possibility of using with nuxt3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-notification.