ShModal
Bootstrap 5 Modal
Basic Example
import
import {ShModal} from '@silahkosgei/sfrontend'
Example Usage
<sh-modal modal-id="exampleModal" modal-title="My Example Modal">
<h5>Model content here</h5>
</sh-modal>
Attributes
modal-id
Type:
stringDefault:
noneRequired:
trueDetails
This is the modal attribute id that will be attached or triggered by a button later on
Example:
exampleModal
modal-title
Type:
stringDefault:
noneRequired:
falseDetails
This is the title of the modal
Example:
My Example Modal