Giter VIP home page Giter VIP logo

Comments (5)

dfikeda avatar dfikeda commented on June 14, 2024

Prease verify if the documentation if it is relative for your version.
The default instalation, installs the V1, and documentation is default for v2.
Additionally, you must fill in the information in order to assist you in what you are actually trying to do, for example, what are these parameters?

from wireui.

LeoMachado94 avatar LeoMachado94 commented on June 14, 2024

Right, I installed it as the v2 documentation asks, and in my composer I have "wireui/wireui": "^1.18".
@dfikeda The documentation says that we can invoke $openModal('modal-name'). In this scenario, I have a modal that is used to exclude users, and I would like to use the same modal just informing the user's ID. I wouldn't like to have 10 exclusion modes for a list of 10 users, I understand that there would be too many unnecessary components.
I would like to do something like $openModal('delete-users', $userId).

from wireui.

LeoMachado94 avatar LeoMachado94 commented on June 14, 2024

At the moment I am using it as shown in the image below, but I understand that it would be much better to have 1 deletion modal component that would be reused for any user that needs to be removed, and not 10 components (1 for each user).
Screenshot 2024-01-20 at 21 45 16

from wireui.

dfikeda avatar dfikeda commented on June 14, 2024

You can use this package to dinamic modal:
https://github.com/wire-elements/modal

from wireui.

LeoMachado94 avatar LeoMachado94 commented on June 14, 2024

I thought about using it, I already use it in other projects. But ideally, wireui would do this too.
Do you see any performance problems using it as shown in the image?

from wireui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.