{"name":"bootstrap-modal-js","version":"2.0.0-beta2","description":"Bootstrap modal","main":"dist/bootstrap-modal-js.min.js","scripts":{"build":"npm run copy && npm run dist","watch":"gulp watch_file","dist":"gulp dist_min","copy":"npm run npm_install && npm run gulp_copy_static","npm_install":"npm i","gulp_copy_static":"gulp copy_static"},"repository":{"type":"git","url":"git+ssh://git@github.com/zhangchenglin/bootstrap-modal-js.git"},"github":"https://github.com/zhangchenglin/bootstrap-modal-js","bugs":{"url":"https://github.com/zhangchenglin/bootstrap-modal-js/issues"},"keywords":["bootstrap","modal","bootstrap5","components"],"author":{"name":"张成林","email":"469946668@qq.com","url":"https://zhangchenglin.github.io"},"license":"MIT","engines":{"bootstrap":"^5.0.0-beta2"},"devDependencies":{"gulp":"^4.0.2","gulp-header":"^2.0.9","gulp-rename":"^2.0.0","gulp-terser":"^2.0.1"},"dependencies":{"bootstrap":"^5.0.0-beta2"},"gitHead":"b01777c64a8f03ddace86a832d98fe0c29c45544","homepage":"https://github.com/zhangchenglin/bootstrap-modal-js#readme","_id":"bootstrap-modal-js@2.0.0-beta2","_nodeVersion":"12.20.2","_npmVersion":"6.14.10","dist":{"integrity":"sha512-wfP3Dqjg/WtGG/yYNn8OrXe7Th9MQ7e/o2+sx+DWt3RXYm+9veBUQE2gg06fEDEebvPYxk5SpobQbXtuBPdIhw==","shasum":"a9fecea3a0ec5f17f0649f8cdbbcbd673bdc8927","tarball":"https://r2.cnpmjs.org/bootstrap-modal-js/-/bootstrap-modal-js-2.0.0-beta2.tgz","fileCount":10,"unpackedSize":679859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgMn0QCRA9TVsSAnZWagAAb4IP/1QFCgmCJ6uMfLVI8R1h\nT3KI1y2qDyK4+e2SKDC/xTv/PYwnfL6+wPWoDaTWUmp1S14nXOEdRmI22KiL\nA3pMbTBI5l/cXPuV6nMAZS/1MJPT4zI4WKeA29pFNr2TzCe10Y+XgPb6n6Bd\nvPLU+EkHtfULQlhsUfY92YlrA8KqM0YtpQ4CkBFD82RrB9ZahqzPW1aGUSzh\nHcbYgaZr7xAgbB7jjUITIoAzPsnNmzpINgqMdUqo+TIcpbcbNkpdmHplilOc\nbLCpARfbiPruw5FcfMg8Kw6U2woZ6koSpDO0yShiSmcQ/gjAtgNAFr+WAixF\n/3qncHcAi/f17hurskYvcWfnewyf37E6lKhCd/fVZpBYfbJx9on1J1msO7Jq\nzJeJvK/5w8vb6C4rHPI1njnkDFJOikJR1FBou2sqorbKWg8I5rZdkcJwaetH\nC2lXox4lZUqLbIBA9nCN1CaLq28CgQgMTe64aKNomhQ2W7C0GY/nZaItyQoY\nIZP6TtCeRPixWj/3BnuTRF3Es3mbCIBvnYLL96Pa9d9clcindFptvilDNfrw\nhZaSMAEitSAczqQZXbQ8oAQDdp4MZK3pTKc/avPky2HrOi4DbxDmBn76N/cI\n7PWkXhPbAQtg4g6ygrXmbYGtFvI3xfZCc35CsFrwhnRV/BLc8++ZbwIp7OAt\nldsQ\r\n=t/MA\r\n-----END PGP SIGNATURE-----\r\n","size":120451},"_npmUser":{"name":"zhangchenglin","email":"469946668@qq.com"},"directories":{},"maintainers":[{"name":"zhangchenglin","email":"469946668@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bootstrap-modal-js_2.0.0-beta2_1613921551584_0.0303875764070769"},"_hasShrinkwrap":false,"deprecated":"v2.0.0-beta3 Published","_cnpmcore_publish_time":"2021-12-25T03:39:11.727Z","readme":"## bootstrap-modal-js\r\n\r\nCurrently supports bootstrap v5.1.2\r\n\r\nBootstrap 5 components \"Modal\"\r\n\r\nCurrently relying on Bootstrap v5, because it is a function package of Bootstrap modal.\r\n\r\nSupports arbitrary calls of 9 parameters, supports callback functions based on modal events.\r\n\r\n---\r\n\r\nIf it helps you, please **star** this repository\r\n\r\n---\r\n\r\n## Demo\r\n\r\nhttps://ZhangChengLin.github.io/bootstrap-modal-js/demo.html\r\n\r\n---\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n---\r\n\r\n## Table of Contents\r\n\r\n| |\r\n| :---------------------------------------------- |\r\n| [How to use it](#how-to-use-it) |\r\n| [How to install](#how-to-install) |\r\n| [CDN](#cdn) |\r\n| [Parameter Description](#parameter-description) |\r\n| [Donate](#donate) |\r\n| [License](#license) |\r\n\r\n\r\n## How to use it\r\n\r\n```\r\n\r\n\r\n\r\ntext\r\n```\r\n\r\nOR\r\n\r\n```\r\ntext\r\n\r\n\r\n\r\n\r\n```\r\nOR MORE\r\n\r\n\r\n## How to install\r\n\r\n```\r\nnpm i bootstrap-modal-js --save\r\n```\r\n\r\nOR\r\n\r\n```\r\ncnpm i bootstrap-modal-js --save\r\n```\r\n\r\n## CDN\r\n\r\n- **jsDelivr**\r\n\r\n```\r\n\r\n```\r\n\r\nOR\r\n\r\n```\r\n\r\n```\r\n\r\n- **UNPKG**\r\n\r\nView all versions\r\n\r\n```\r\nhttps://unpkg.com/bootstrap-modal-js/\r\n```\r\n\r\nAfter the browser parses, get the latest version address\r\n\r\n```\r\nhttps://unpkg.com/bootstrap-modal-js\r\n```\r\n\r\n## Parameter Description\r\n\r\n```\r\nbootstrapModalJs(title, body, footer, ModalSizes, VerticallyCentered, LongContentType, EventType, CallbackFunction, Options)\r\n```\r\n\r\n**Return Values**\r\n\r\n| type | such as | Description |\r\n| :----: | :------------:| :-------------------:|\r\n| String | 1552756356601 | modal element number |\r\n\r\n---\r\n\r\n- **title**\r\n\r\nType: String \\| Function \\| Function HTMLElement\r\n\r\nDefault value: undefined\r\n\r\nDescription: If you want to add a child element to the '.modal-header' element, use the Function HTMLElement.\r\n\r\n说明: 如果要向 \".modal-header\" 元素添加子元素,请使用 Function HTMLElement。\r\n\r\n---\r\n- **body**\r\n\r\nType: String \\| Function \\| Function HTMLElement\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n---\r\n- **footer**\r\n\r\nType: String \\| Function \\| Function HTMLElement\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n---\r\n- **ModalSizes**\r\n\r\nType: String\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| sm |\r\n| lg |\r\n| xl |\r\n| full |\r\n| full-sm |\r\n| full-md |\r\n| full-lg |\r\n| full-xl |\r\n| full-xxl |\r\n\r\n---\r\n- **VerticallyCentered**\r\n\r\nType: Boolean\r\n\r\nDefault value: false\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| true |\r\n| false |\r\n\r\n---\r\n- **LongContentType**\r\n\r\nType: Boolean\r\n\r\nDefault value: false\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| true |\r\n| false |\r\n\r\n---\r\n- **EventType**\r\n\r\nType: String\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n| parameter|\r\n| :-------:|\r\n| show |\r\n| shown |\r\n| hide |\r\n| hidden |\r\n\r\n---\r\n- **CallbackFunction**\r\n\r\nType: Function\r\n\r\nDefault value: undefined\r\n\r\nDescription:\r\n\r\n---\r\n- **Options**\r\n\r\nType: Object\r\n\r\nDefault value:\r\n\r\nDescription: Bootstrap Modal options\r\n\r\n| parameter | default value (boolean) | other |\r\n| :-------: | :---------------------: | :-------------------: |\r\n| backdrop | true | false | \"static\" |\r\n| keyboard | true | false |\r\n| focus | true | false |\r\n| show | true | false |\r\n\r\n---\r\n\r\n## Donate\r\n\r\n| Method (priority) | type |\r\n| :---------------- | :-------------------------------------------------------------: |\r\n| alipay (支付宝) | [QR code](https://ZhangChengLin.github.io/image/pay-alipay.jpg) |\r\n| QQ | [QR code](https://ZhangChengLin.github.io/image/pay-qq.png) |\r\n| WeChat (微信) | |\r\n| PayPal (贝宝) | [PayPal.Me](https://www.paypal.me/ZhangChengLin) |\r\n\r\n---\r\n\r\n## License\r\n\r\n**MIT**\r\n\r\nunder the MIT License (license terms are at https://opensource.org/licenses/MIT).\r\n\r\n"}