Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Adding directive not triggering event #1

Open
StanMenten opened this issue Dec 17, 2022 · 2 comments
Open

Adding directive not triggering event #1

StanMenten opened this issue Dec 17, 2022 · 2 comments

Comments

@StanMenten
Copy link

Hi,

I followed your instructions by adding x-lightbox directive to my image.
But unfortunately it's not triggering any event, even no error logs in my console.

  • Added import to app.js
  • Added Alpine.plugin(Lightbox)
  • Added directive to img tag
  • Alpine version 3.9.2
  • Tailwind installed

Is this package still working, or am I doing something wrong?

@njxqlus
Copy link

njxqlus commented Jan 9, 2023

Not working for me too. I have apline 3.0.6

@AlejandroAkbal
Copy link

Make sure to add x-data="" to the DOM element

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants