{"repo":"wire-elements/modal","free":true,"listed":false,"github":"https://github.com/wire-elements/modal","clone":"git clone https://github.com/wire-elements/modal.git","description":"Livewire component that provides you with a modal that supports multiple child modals while maintaining state.","language":"PHP","stars":1211,"topics":["laravel","livewire","livewire-components"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Livewire v3 This is the readme for Livewire v3. If you are looking for the readme for Livewire v2 click here. Upgrading from v2 You can use the following command to automate the upgrade process: Please review the changes and ensure they follow the new convention set by Livewire v3: The old component name is being deprecated. Replace @livewire('livewire-ui-modal') with @livewire('wire-elements-modal') . The config file has been renamed as well. If you've published the config in the past, you will have to do so again and make the necessary changes: After upgrading, make sure to clear your view cache: About Wire Elements Modal Wire Elements Modal is a Livewire component that provides you with a modal that supports multiple child modals while maintaining state. Installation Click the image above to read a full article on using the Wire Elements modal package or follow the instructions below. To get started, require the package via Composer: Livewire directive Add the Livewire directive @livewire('wire-elements-modal') directive to your template. TailwindCSS The base modal is made with TailwindCSS. If you use a different CSS framework I recommend that you publish the modal template and change the markup to include the required classes for your CSS framework. Creating a modal You can run php artisan make:livewire EditUser to make the initial Livewire component. Open your component class and make sure it extends the ModalComponent class: Opening a modal To open a modal you will need","default_branch":null,"files":null,"tree":[],"storefront":"/r/wire-elements","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wire-elements/modal/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}