## Developer guide for `` component ### Folder Structure From Laravel Application - resources - js - core - components - modal - Modal.Vue ### Props 1. modalId : - `required` : `true` - `type` : `String` 2. modalSize : - `type` : `String` - `default` : `default` - Available sizes are: `default`, `small`, `large`, `extra-large`, `full-width` and `fullscreen` 3. modalAlignment : - `type` : `String` - `default` : `top` - Available alignment types are: `top` and `center` 4. modalScroll : - `type` : `Boolean` - `default` : `true` ### Usage 1. If you want to call app-modal component. You just need to be load the modal with condition or function. - ** No need to use function `$('#modalId').modal('show')` 2. Close Modal - If you want to close modal `` generate a event `close-modal`. - or You can create a button for close modal. - Close modal function you should write ``` closeModal() { $('#modalId').modal('hide'); this.showModal = false; }, ``` ### example - app modal, confirmation modal usage example here. ``` ``` **Note** `modalId` attribute is required